/home/<user>/.gvfs causing problems for rsync
Karl Auer
kauer at biplane.com.au
Sat Nov 8 07:06:06 UTC 2008
On Sat, 2008-11-08 at 00:54 -0500, Luke Militello wrote:
> Try this...
>
> rsync -av --delete-after --exclude=".gvfs/" /home/user/ /path/to/dst/
--delete-after doesn't delete excluded files and directories though, it
just instructs rsync to do deletions last instead of first. The error
seems to be happening during the list-building phase in rsync, not the
writing phase, so I'm not sure what he wins with this.
However, I'm still waiting to find out whether using --delete (or
--delete-after, for that matter) instead of --delete-excludes actually
makes the error go away. I use rsync and --delete with --exclude
"- .gvfs/" and everything works fine. Of course, with --delete he won't
be deleting excluded files on the receiving end, but he can do that in a
separate step as a workaround.
Another option - though it's a bit of a sledgehammer - might be to
specify --ignore-errors, which should cause the deletes to proceed even
though .gvfs caused a problem. Definitely a workaround, and probably not
acceptable in the longer term.
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/20081108/4299ab89/attachment.sig>
More information about the ubuntu-users
mailing list