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

Matthias Schniedermeyer ms at citd.de
Tue Jan 8 04:33:36 MST 2013


On 08.01.2013 12:23, Maik Meier wrote:
> Hi,
> 
> I want to use rsync to make daily backups using hard-links in this way:
> 
> rsync -av --delete --link-dest=../backup_old ./source/. ./backup_new
> 
> Does someone know if this a bug, or ist this intended to be or am I
> wrong somethere?

I would think it is intented.

Technically you don't have anything to delete as you are creating 
something new and a "deleted" file just means that you don't have to 
link or copy it.




-- 

Matthias


More information about the rsync mailing list