rename files with leading dot

Post Reply
mister_v
Posts: 137
Joined: Sat Jun 20, 2009 5:42 pm

rename files with leading dot

Post 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.
Chris
Site Admin
Posts: 127
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: rename files with leading dot

Post by Chris »

Try rename.

Code: Select all

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