ralf : Rename A Lot of Files #
ralf is a tiny command line tool to rename a lot of files. Use regex to match a pattern you want to change and set the replacement.
Download #
Install #
run make
Usage #
Pass files to rename as argument to ralf. Usually, you can glob all files in the current directory.
> ralf *
Example #
> ralf * a aaaaa b bar c foo xxxx --- Pattern to replace: [a-c] with: z --- a -> z aaaaa -> zzzzz b -> z bar -> zzr c -> z foo -> foo xxxx -> xxxx --- OK? (Return, or ctrl-c to cancel) a -> z aaaaa -> zzzzz ralf: z already exist, b is left unchanged bar -> zzr ralf: z already exist, c is left unchanged bye o/
See also #
re_format(7)