How do I copy the contents of a folder in Linux?

How do I copy the contents of a folder in Linux?
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