Re: rsync for the brave
On Sat, 2008-11-08 at 23:07 -0700, Ashley M. Kirchner wrote:[color=blue]
> 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.[/color]
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?
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: [url]https://lists.samba.org/mailman/listinfo/rsync[/url]
Before posting, read: [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url]