Change spaces or dots in file name to dashes

Alexis Kotte alexis.kotte at gmail.com
Mon May 14 09:37:51 UTC 2007


On 5/11/07, OOzy Pal <oozypal at gmail.com> wrote:
> How can change spaces or dots in a file name to dashes using the Console?

Use mmv, for instance, all .txt files:

mmv ';* *.txt' '#1#2_#3.txt'

Does this recursively in all sub-dirs.


Cheers,

Alexis Kotte




More information about the ubuntu-users mailing list