rsync in conjunction with the --link-dest option does not output deleted files

Karl O. Pinc kop at meme.com
Tue Jan 8 06:43:46 MST 2013


On 01/08/2013 07:17:15 AM, Kevin Korb wrote:
> You might find this useful:
> http://sanitarium.net/unix_stuff/rspaghetti_backup/diff_backup.pl.txt
> It is a script I wrote that diffs 2 backup directories and will tell
> you what is missing between them. 

There's always some simple shell (bash) scripts:

diff -u <(find olddir) <(find newdir) | grep '^- '

Will probably work.  I've not tried it.

Throw a pipe to cut on the end if you want to remove the leading
'- 's.

Regards,

Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein



More information about the rsync mailing list