I have a whole bunch of iTunes files in various folders with a " 1" suffix like this
~/Music/iTunes/.../SomeSong 1.m4a
and I want to get rid of that suffix (they're leftovers from a batch conversion).
There must be an easy way to get this done in the shell, but I'm not a great shell programmer...
I know if you want to add something to a file name it can be done easily in the shell like this
code:
for i in *.m4a; do mv $i "The Prefix"$i; done;
But what if I want to
remove part of the file name? Any suggestions how to remove this " 1" from the file names in the shell?