Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'How to use 'cp' as a simple but reliable backup tool' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to use 'cp' as a simple but reliable backup tool
Authored by: billabOng on Feb 17, '10 09:08:03AM

Does your method copy updated files? Rsync's syntax is as simple as:

rsync -av --progress /source/ /destination/

a is archive
v is verbose
--progress gives more info on the status of each file copy.

A trailing slash on the /source/ will copy the contents of /source to /destination.. Omitting the slash will copy the entire directory to /destination.

[ Reply to This | # ]