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: thejoecarroll on Feb 20, '10 08:02:29AM

Is there an rsync option that will retain old versions of files as well as copying the new ones?

I had a quick look at the man page and couldn't find one, but I know that, for example, Carbon Copy Cloner, which provides a GUI interface for configuring rsync clones of volumes etc. has the option to move aside and retain files that are to be replaced. This feature—or an alternative that incrementally appends something to the name of copies in the destination folder—would be essential to solving the problem you've identified where files with the same name are actually different pictures both of which should be retained.

[ Reply to This | # ]