problems with --read-batch and --write-batch with --files-from
Chris Shoemaker
c.shoemaker at cox.net
Tue Jun 22 22:27:29 GMT 2004
On Tue, Jun 22, 2004 at 07:20:40PM +0200, Karsten Scheibler wrote:
> > On Mon, Jun 21, 2004 at 05:22:19PM -0700, Wayne Davison wrote:
> > > On Mon, Jun 21, 2004 at 03:11:17PM -0400, Chris Shoemaker wrote:
> > > > Is this fixed by the "|| read_batch" [...] which is in CVS?
> > >
> > > Yes. That extra code makes --read-batch default to --no-whole-file,
> > > just like --write-batch.
> >
> > There you go Karsten, Wayne's already fixed this in CVS.
>
> ok thanks, i will try the next CVS snapshot in a few days.
>
> But how about the second part of my posting: the problem with
> 'echo file1 | rsync --write-batch=data --files-from=- -a -v -v src/ dest/'
> writing batch files to different dirs. Ok i could specify an absolute prefix
> to --write-batch, but i think it should also work with relative paths.
>
Although I haven't tested exactly this command line, I _think_ that this
is at least partially solved by the local_batch.diff patch in the CVS
patched dir. I say "partially" because I suspect that the flist file
_may_ still end up in the sub-directory. In any case, I'm working
toward a re-writing of batch-mode, so stay tuned.
-chris
>
>
> karsten
> --
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list