/home/<user>/.gvfs causing problems for rsync
Karl Auer
kauer at biplane.com.au
Thu Nov 6 23:08:51 UTC 2008
On Fri, 2008-11-07 at 08:03 +1000, Res wrote:
> > --delete-exclude implies --delete, so you don't need to specify --delete
> > again.
>
> Wrong.
No - right! :-)
> --delete will *ignore* all exisiting directories/files in his excludes on
> the remote side *unless* using the --delete-excluded option, so the OP was
> right in adding that in, a bit overkill, but for his situation he may
> require it.
I didn't say he didn't need --delete-excluded, I said he didn't need to
specify --delete again if he was using --delete-excluded.
From the rsync man page:
--delete-excluded
In addition to deleting the files on the receiving side
that are not on the sending side, this tells rsync
to also delete any files on the receiving side that are
excluded (see --exclude). See the FILTER RULES section
for a way to make individual exclusions behave this way
on the receiver, and for a way to protect files from
--delete-excluded. See --delete (which is implied) for
more details on file-deletion.
Particularly notice the first and last sentences.
If he is using --delete-excluded, then --delete is completely
unnecessary (it won't hurt, it's just redundant). The OP certainly does
NOT require it if he is using --delete-excluded.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
GPG fingerprint: DD23 0DF3 2260 3060 7FEC 5CA8 1AF6 D9E3 CFEE 6B28
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081107/aab46ce9/attachment.sig>
More information about the ubuntu-users
mailing list