Monday, July 23, 2012

Linux: cp command


cp -r /home/hope/files/* /home/hope/backup

Copies all the files, directories, and subdirectories in the files directory into the backup directory.

Example:

cp -r /home/john/Desktop/shared_folder/* /media/DISK/disk1


Reference:
http://www.computerhope.com/unix/ucp.htm

No comments: