ubuntu-users@lists.ubuntu.com
[Top] [All Lists]

Re: rsync filters

Subject: Re: rsync filters
From: Johnny Rosenberg
Date: Thu, 24 Sep 2009 19:21:34 +0200
2009/9/24 Smoot Carl-Mitchell <smoot@xxxxxxx>:
> On Thu, 2009-09-24 at 12:33 -0400, Hal Burgiss wrote:
>
>
>> For instance, I get this kind of output ...
>>
>> bin/
>> deleting bin/znew
>> deleting bin/zmore
>> deleting bin/zless
>> deleting bin/zgrep
>> deleting bin/zforce
>> deleting bin/zfgrep
>> deleting bin/zegrep
>> deleting bin/zdiff
>> deleting bin/zcmp
>> deleting bin/zcat
>> deleting bin/which
>> deleting bin/vdir
>> deleting bin/uncompress
>> deleting bin/uname
>> deleting bin/umount
>> [...]
>>
>> All of which exist on both machines and appear to be identical, including
>> timestamps.
>>
>
>> The command line I am using is:
>> rsync Â-vazSHF --no-blocking-io --partial --delete-during --delete-excluded 
>> --timeout 600 --dry-run Â/ $sync_dst:/
>>
>
> Your problem is the --delete-excluded flag. ÂIt will delete files on the
> target which are excluded on the source. ÂThat is why you are getting
> the delete messages. ÂYou probably want the --delete flag which will
> delete files on the target which are not on the source and not in the
> excluded category.

Oops, you beat me to itâ well, at least we are two who says the same thingâ

J.R.

> --
> Smoot Carl-Mitchell
> Computer Systems and
> Network Consultant
> smoot@xxxxxxx
> +1 480 922 7313
> cell: +1 602 421 9005
>
> --
> ubuntu-users mailing list
> ubuntu-users@xxxxxxxxxxxxxxxx
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

-- 
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
<Prev in Thread] Current Thread [Next in Thread>