On Thu, Apr 23, 2009 at 08:40:12PM +0300, Teodor MICU wrote:
This is not desired because these parent* directories
were deleted on the MASTER host but cannot be deleted with rsync on the
SLAVE hosts because it contains one excluded directory named DIR.
You should either anchor your excludes so
Il giorno gio, 23/04/2009 alle 17.32 +0200, Paul Slootman ha scritto:
On Thu 23 Apr 2009, Teodor MICU wrote:
Until now I've done this by adding - foo/ on the exclude file. With this
line rsync will not touch any foo/ directory on the receiver.
--delete-excluded will screw this up.
I
Il giorno gio, 23/04/2009 alle 18.01 +0300, Teodor MICU ha scritto:
Until now I've done this by adding - foo/ on the exclude file. With this
line rsync will not touch any foo/ directory on the receiver.
I don't see yet the advantage of using --filter over --exclude but I
hope someone can
On Thu, Apr 23, 2009 at 02:02:26PM +0200, istrice wrote:
--filter=':r .bar'
This indicates that you want the file .bar to be read at every level of
the destination hierarchy and its contents to be interpreted as filter
commands. That would let you specify localized filtering.
--filter=':r
I must be seriously misunderstanding the man page coverage of --filter.
If I have a dir 'foo/' in the reciver with content 'bar' that I must
keep and a 'foo/' on the sender side empty what could possibly be the
best way to get the job done?
Till now the filter option gone ignored..
Not to mention
On Thu, 23 Apr 2009 14:02:26 +0200
istrice istr...@autistici.org wrote:
I must be seriously misunderstanding the man page coverage of --filter.
If I have a dir 'foo/' in the reciver with content 'bar' that I must
keep and a 'foo/' on the sender side empty what could possibly be the
best way to
On Thu 23 Apr 2009, Teodor MICU wrote:
Until now I've done this by adding - foo/ on the exclude file. With this
line rsync will not touch any foo/ directory on the receiver.
--delete-excluded will screw this up.
Paul
--
Please use reply-all for most replies to avoid omitting the mailing
On Thu, 23 Apr 2009 17:32:37 +0200
Paul Slootman paul+rs...@wurtel.net wrote:
--delete-excluded will screw this up.
Yes, this is why I don't use it. This is probably a bug because the
excluded directories with - DIR/** will became empty on all receivers
(SLAVE hosts). But with just --delete the