Change spaces or dots in file name to dashes

Matthew Flaschen matthew.flaschen at
Tue May 15 03:35:34 UTC 2007

Alexis Kotte wrote:
> On 5/11/07, OOzy Pal <oozypal at> 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'

Thanks.  I hadn't heard of that program; it seems fairly simple, but
very robust.

Matt Flaschen

More information about the ubuntu-users mailing list