How do you copy a directory?

thanhthao

New member
How do you copy a directory?
Answer
Linux Copy File Examples
  1. Copy a file to another directory. To copy a file from your current directory into another directory called /tmp/, enter:
  2. Verbose option. To see files as they are copied pass the -v option as follows to the cp command:
  3. Preserve file attributes.
  4. Copying all files.
  5. Recursive copy.
 

Tìm kiếm

Back
Top