Page 1 of 1

rename files with leading dot

Posted: Thu Nov 07, 2013 8:23 pm
by mister_v
Hi,

I'm trying to rename files with a leading point (.)
like .4544.wav .4545.wav

I'm trying to do it with mv, but it's no good.

Re: rename files with leading dot

Posted: Thu Nov 07, 2013 8:27 pm
by Chris
Try rename.

Code: Select all

rename 's/.4/4/g' .*.wav
Something like this should work