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: joshewah on Feb 17, '10 08:42:31AM

To use rsync it is actually very simple for local files.

All you need is:
rsync -av /source/path/to/directory/ /destination/path/to/directory/

As long as you leave trailing slashes on both directories it will mirror all the files from the source to the destination and will copy only what isn't already there.



[ Reply to This | # ]