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

Kevin Korb kmk at
Tue Jan 8 05:23:45 MST 2013

Hash: SHA1

This is correct.  Rsync isn't actually deleting anything therefore it
has nothing to report.  It just isn't making a new link.

If you really want to see deletes you can revert to the old method
that was used before --link-dest where you cp -al the old backup to
the new backup then rsync with --delete but not --link-dest on top of
the tree full of links.  The end result will be the same as
- --link-dest with the verbosity you are asking for though it will take

On 01/08/13 06:53, Maik Meier wrote:
> But I thought rsync tells me all modifications from "source" to 
> "backup_new". I just want to write this information into a
> log-file. I know that the file, that is deleted in "source" is not
> deleted physically after rsyncing, because it still exists in
> backup_old. But the interesting information to me would be: what
> has changed from "source" to "backup_new"? It seems that rsync does
> not output this information. Is the only solution to write a own
> script which compares "source" and "backup_old" to determine the
> deleted files before rsyncing? I am wondering about this.
> ------- Original Message from Matthias Schniedermeyer -------
>> 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.

- -- 
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at  (work)
	Orlando, Florida		kmk at (personal)
	Web page:
	PGP public key available on web site.
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined -


More information about the rsync mailing list