Possible not expected behaviour with "delete" option

Kevin Korb kmk at sanitarium.net
Thu Apr 4 15:28:48 UTC 2019

It doesn't seem like the trailing / on the target should matter.  It
only means something special on the source.

However, if there is any error then rsync will abort the deletions for

On 4/3/19 2:10 PM, lugarci1 via rsync wrote:
> Hi, I was trying to make a mirror backup of a folder in my machine with
> the followin|g command:|
> |rsync -avh --delete /source/ /destination|
> |
> |
> |But the extra files that where on "destination" didn't got deleted.
> Where as doing:|
> ||rsync -avh --delete /source/ /destination/||
> ||worked as expected.||
> ||
> ||
> ||I wonder if this is correct, or it shouldn't be like that.||

	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			https://sanitarium.net/
	PGP public key available on web site.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20190404/9496ca76/signature.sig>

More information about the rsync mailing list