Nguyễn Ngọc Tâm Quyên
Member
How do I copy files in terminal?
Answer
Copy a file or folder locally
In the Terminal app on your Mac,
use the cp command to make a copy of a file. The -R flag causes cp to copy the folder and its contents. Note that the folder name does not end with a slash, which would change how cp copies the folder.
Answer
Copy a file or folder locally
In the Terminal app on your Mac,
use the cp command to make a copy of a file. The -R flag causes cp to copy the folder and its contents. Note that the folder name does not end with a slash, which would change how cp copies the folder.