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: cp source destination cp dir1 dir2 cp file.txt newfile.txt cp -option source destination cp -option1 -option2 source destination In this example we try to copy /home/USR/some/dir folder and all its files to /home/USR/nfs-mounts directory cp -avr […]

Share