[Bug 11656] Escaping broken with --files-from

2017-10-08 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=11656 Wayne Davison changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #2 from Gennady Uraltsev --- Actually this doesn't help. $ mkdir src; mkdir dst; touch src/"$(echo -e 'foo\nbar')" $ rsync -n --out-format='%n' src/* dst/| tr '\n' '\0' | rsync -v --from0

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #3 from Kevin Korb --- I am not sure what exactly the point of using an rsync -n to feed an rsync --files-from would be. The --files-from option is really designed to be fed from find which has a -print0 option

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #4 from Gennady Uraltsev --- Well, imagine a poor mans replacement for batch files. We want to generate a list of operations, maybe edit it by hand (a batch file is binary...) and then feed it back to

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #5 from Kevin Korb --- I would say that if your goal is to make an editable list to be run through rsync later you would be a lot better off with an --itemize-changes list and a script to reformat it after

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #6 from Gennady Uraltsev --- I hope I am not upsetting anyone. Maybe I wasn't clear: --itemize-changes is half the problem. Maybe I should post another bug. In the situation I described $ rsync -n

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #7 from Gennady Uraltsev --- Furthermore consider this test case: in addition to what we did before create the file with the actual name aaa\#012bbb by doing touch 'src/aaa\#012bbb' then $ rsync -n

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #8 from Kevin Korb --- I was not offended. I was just trying to establish your use case and offer possible alternative methods of accomplishing it while not actually being an rsync dev. Wayne is really the only

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #9 from Gennady Uraltsev --- I looked through the source code and it seems that whatever is happening is going bad in the function static void filtered_fwrite in log.c in particular the line #134

[Bug 11656] Escaping broken with --files-from

2015-12-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11656 --- Comment #1 from Kevin Korb --- This is what --from0 is for. -- You are receiving this mail because: You are the QA Contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To