Easy question for the wise. I have a bunch of files with the same name but different extensions, e.g:
file1.a
file1.b
file1.c
and I want to rename all of them to
name.a
name.b
name.c
How can I do this? thanks.
Easy question for the wise. I have a bunch of files with the same name but different extensions, e.g:
file1.a
file1.b
file1.c
and I want to rename all of them to
name.a
name.b
name.c
How can I do this? thanks.
So as BMW pointed out, there is another similar question (How to do a mass rename? )
Just for the sake of it I will put the answer here:
To rename files with different extension you can do the following:
mmv "file1.*" "name.#1"
Thanks!