rsync for the brave
Matt McCutchen
matt at mattmccutchen.net
Sun Nov 9 15:26:16 GMT 2008
On Sat, 2008-11-08 at 23:07 -0700, Ashley M. Kirchner wrote:
> Anyone here run rsync on a Win32 platform? I know, I'm a glutton for
> pain. Anyway, I'm using 'cwrsync' on one system to copy files from a
> local drive (F:) to a mapped (network) drive (Y:). The problem I'm
> having is with that infamous 'Network Trash Folder'. I can't get it to
> ignore it on the remote (mapped) drive, and it doesn't exist on the
> local drive. Consequently, I get this error:
>
> file has vanished: "/cygdrive/y/Network Trash Folder/Trash Can Usage Map"
> rsync: delete_file: rmdir(Network Trash Folder) failed: Device or
> resource busy (16)
> IO error encountered -- skipping file deletion
>
> ... and when that happens, it stops deleting those files it should
> be deleting from the remote (mapped) drive.
>
> It's not a folder that Windows will allow me to delete, so
> consequently rsync will attempt to do that and fail. Adding
> --exclude="Network Trash Folder" has absolutely no effect what so ever.
I'm surprised that the exclude doesn't work. Could you post your whole
rsync command line so I can see if anything else might be interfering?
Matt
More information about the rsync
mailing list