Linux: HowTo Copy a Folder [Command Line]

cp = copy Command cp is a Linux command for copying files and directories. The syntax is as follows:

In this example we try to copy /home/USR/some/dir folder and all its files to /home/USR/nfs-mounts directory

Where -avr means: -a : Preserve the specified attributes such as directory and file mode, ownership, timestamps, and […]