View Single Post
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#118
I just thought that was what the R did...


cp - copies on or more files. Recursive copying is one simple way of archiving part of a directory structure. Use the command as follows:

cp -r /sourcedirectory /targetdirectory
taken from
http://www.er.uqam.ca/nobel/r10735/unixcomm.html
 

The Following User Says Thank You to F2thaK For This Useful Post: