Prepend multiple files with a pattern with the command line with Bash
For example:
$ for f in * ; do mv -- "$f" "PRE_$f" ;
will prepend all files in the current directory with PRE_
.
I use Bash because I have not figured how to prepend files with the utility rename.ul
, let me know if you do.
See also:
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki bash text processing