Re: --delete-during acts like --delete-before

2010-09-18 Thread Wayne Davison
On Fri, Sep 10, 2010 at 11:29 AM, Craig Bell wrote: > That's interesting! I tried this, --del does indeed behave strictly > "infix" when both paths are local. > No, there's no difference in how the deletions occur, but there is a difference in how the output makes it to the screen between a pull

Re: --delete-during acts like --delete-before

2010-09-14 Thread Jon Price
Hi, Not sure if post below made it to the list, so re-sending. Apologies if you already got this. On Sep 10, 2:29 pm, Craig.B... @standard.com (Craig Bell) wrote: > Mi

RE: --delete-during acts like --delete-before

2010-09-10 Thread Craig Bell
Michal Soltys wrote: > Try for example something analogous to: Thanks Michal, I have a workaround that provides the behavior that I want to see: for dir in 0 1 2 3 ; do rsync -a --del srchost::del-test/${dir} . done rsync -a --del srchost::del-test . > On a related note, if you call

RE: --delete-during acts like --delete-before

2010-09-10 Thread Craig Bell
Carlos Carvalho wrote: > Did you try with --no-i-r? In your somewhat particular case it might do what > you want. Thanks Carlos, I tried --no-i-r with my test data, but it still effectively deletes before. -cheers, CSB -- Please use reply-all for most replies to avoid omitting the mailing li

Re: --delete-during acts like --delete-before

2010-09-09 Thread Michal Soltys
On 10-09-09 20:17, Craig Bell wrote: > Michal Soltys wrote: > > > As stated, I would prefer this, however I do not have enough space to keep > two editions of the files. > I must delete as I go along, however I don't want to delete everything up > front, and risk exposure. > My workaround was t

RE: --delete-during acts like --delete-before

2010-09-09 Thread Carlos Carvalho
Craig Bell (craig.b...@standard.com) wrote on 9 September 2010 18:26: >Matthias Schniedermeyer wrote: > >> My observation of current rsync in "Incremental Recursion"-Mode >>(default), with default "--delete", is that the files it deletes are >> about 1000 files further down the list than the

RE: --delete-during acts like --delete-before

2010-09-09 Thread Craig Bell
Matthias Schniedermeyer wrote: > My observation of current rsync in "Incremental Recursion"-Mode >(default), with default "--delete", is that the files it deletes are > about 1000 files further down the list than the file it currently > transfers. > So question is: Are there more than 1000 file

RE: --delete-during acts like --delete-before

2010-09-09 Thread Craig Bell
Michal Soltys wrote: > Hmmm, rsync wouldn't do that. As mentioned above, files being part of > the transfer (whenever uptodate ones, or the ones to be updated) will > not be preemptivly removed. Even the old files are not deleted first - > they are transfered to a temporary file and moved over

RE: --delete-during acts like --delete-before

2010-09-09 Thread Craig Bell
Michal Soltys wrote: > If you used --delete-during - rsync would combine 1st and 2nd pass of > --delete-before into single pass, where deletion and transfer would be > done on directory per directory basis, recursively. Thanks for writing, Michal. In my example, I used --delete-during, however

Re: --delete-during acts like --delete-before

2010-09-09 Thread Matthias Schniedermeyer
On 08.09.2010 23:07, Craig Bell wrote: > > Hello, I use rsync v3.0.7 with "--delete-during", but it appears to > act more like "--delete-before". I've checked the docs and list > archives, but I am still discovering some of the subtleties of > rsync, and I can't see where I'm going wro

Re: --delete-during acts like --delete-before

2010-09-09 Thread Michal Soltys
On 09.09.2010 02:05, Michal Soltys wrote: On 10-09-09 01:07, Craig Bell wrote: 1) 1st delete pass, honoring global (on B or sent from A, if rsync was executed on A) and per directory (on B) rules of what to protect/delete (see --filter's options R & P) 2) 2nd transfer pass To be a bit more sp

Re: --delete-during acts like --delete-before

2010-09-08 Thread Michal Soltys
On 10-09-09 01:07, Craig Bell wrote: Hello, I use rsync v3.0.7 with "--delete-during", but it appears to act more like "--delete-before". I've checked the docs and list archives, but I am still discovering some of the subtleties of rsync, and I can't see where I'm going wrong. There's an

--delete-during acts like --delete-before

2010-09-08 Thread Craig Bell
Hello, I use rsync v3.0.7 with "--delete-during", but it appears to act more like "--delete-before". I've checked the docs and list archives, but I am still discovering some of the subtleties of rsync, and I can't see where I'm going wrong. There's an example of my issue below... can anybod