3

prepend digit to filenames which begin with digits (with zmv, please)

view full story
linux-howto

http://unix.stackexchange.com – I have a directory with files named like 19.png, 20.jpeg, and README00.txt I want to rename these to 119.png, 120.jpeg, and README00.txt. I would like to do this with zmv as it works well in so many other cases, but I cannot get zmv to make an action based on the first character of a filename being a digit. I can easily get 1README00.txt, but that is not what I desire. (HowTos)