| BMV(1) | General Commands Manual | BMV(1) |
bmv — batch
move
bmv |
[-0cdflmnor] list1
[list2] |
The bmv utility is a program which takes
two lists of names delimited by lines and moves each name from the first
list to it's corresponding name in the second list. As it is moved, each
destination is printed to the standard output.
The options are as follows:
-0-c-d-f-l-m-n-o-f would also allow
this, but would raise errors.)-r-vThe bmv utility exits 0 on success,
and >0 if an error occurs.
Prefix files in the current directory with 'prefix-'.
$ ls > /tmp/a && sed
s/^/prefix-/ < /tmp/a | bmv /tmp/aRemove files with 'bad' contained within their name and replace
$ mkfifo /tmp/x && tee /tmp/x
| sed -e /bad/d -e s/tipo/typo/g | bmv -r /tmp/xJacob R. Edwards <jacob@jacobedwards.org>
| April 13, 2023 | jacob |