How to delete files older than X on backup during sync?

Henri S henri at stmargarets.school.nz
Mon Nov 10 05:56:00 GMT 2008


You could find these files using find. Then, copy these to another
directory and sycn the directory which has only the new files.
If you were cleaver you could hard link the files to save space before the
sync. But maybe someone on this list will know how to do this with just
rsync.

This is just one possiblity. Maybe somone has already written a tool to do
the first step.





More information about the rsync mailing list