This is a discussion on Re: [RSync] Re: rsync for the brave - Tools ; Matt McCutchen wrote: > 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? Keep in mind that this is the Win32 ported version ...
Matt McCutchen wrote:
> 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?
Keep in mind that this is the Win32 ported version (cwRsync) that
"C:\Program Files\cwRsync\bin\rsync.exe" -arvz --progress --partial \
--delete --delete-excluded --exclude="Network Trash Folder" \
--filter=". C:\Program Files\cwRsync\filter.txt" \
--log-file="C:\Program Files\cwRsync\AbyssI.txt" \
I've tried adding it to the command line (see above), and when that
failed, I moved it into the filter.txt file instead:
C:\Program Files\cwRsync>type filter.txt
- System Volume Information
- Temporary Items
- Network Trash Folder
I'm not using both at the same time, it's either the command line,
or filter.txt file. Neither seem to work. What rsync is telling me is
that it wants to DELETE the copy that's on the Y: drive (since it
doesn't exist on the F: drive). However, I need it to ignore that
folder all together, don't bother copying, don't bother deleting. But I
can't simply remove the --delete* options from the command line because
I DO want it to delete OTHER FILES ... just ignore that one specific folder.
H | It's not a bug - it's an undocumented feature.
Ashley M. Kirchner
. 303.442.6410 x130
IT Director / SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html