Help - Search - Members - Calendar
Full Version: Cp Command
Linuxhelp > Support > Technical Support
stresshead
I want to copy my home folder to a usb key so i can reinstall my os (fedora 3). A colleague at work has helped me with this before but I can't remember the parameters of the cp command that he told me to type. I think there were 4 in total and the only 1 i can remember is R to copy subdirectories. Can anybody give me any ideas on the other 3.

Thanks in advance,

Lee.
Robert83
Hi,

Since this is kinda like my backup thingie

this should work ok for you

cp -au /home/robert /backup


this will create /backup/robert with directories under it...

Sincerely
Robert B

CODE
man cp

try it just once
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.