Load the zmv function, best place is in ~/.zshrc
autoload zmv
Take filenames likes image0001.jpg
and rename to 0001.jpg
zmv 'image(*.jpg)' '$1'
zmv '(*)' '${(L)1}'
Load the zmv function, best place is in ~/.zshrc
autoload zmv
Take filenames likes image0001.jpg
and rename to 0001.jpg
zmv 'image(*.jpg)' '$1'
zmv '(*)' '${(L)1}'