Closed rrthomas closed 3 years ago
Looking at it further, it's tricky: what is required is to have a file format that can be edited (so NULs are not a nice option), but that still allows any character in a filename. The only character that can't occur in a filename is slash. So, multiple slashes could be used as a delimiter (since they never occur naturally in a path). A rename could then look like:
\\OLD// => \\NEW//
It could still end in a newline, so that it would be possible to ignore non-rename newlines (specifically, those starting with a space), though the record might of course contain newlines.
An alternative approach is implemented by https://github.com/itchyny/mmv/ It is tempting simply to say "use the other mmv", but the identical name makes it tricky to install in parallel. I have opened https://github.com/itchyny/mmv/issues/13
Closed by removing the functionality.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=149873
This looks like it could be solved with a
-0
command-line option similar to xargs's.