Re: mass rename help

2012-10-30 Thread Dazed_75
Thanks, Brian! This one worked (though my '=' should have been a '-'). I did not try the second option you gave. On Mon, Oct 29, 2012 at 7:38 PM, Brian Cluff wrote: > Install the package mmv and then do: > > mmv "meetthegimp=mobile*.mp4" "meetthegimp#1-mobile.mp4" > > That should take care of

Re: mass rename help

2012-10-29 Thread Brian Cluff
You can also do: prename -v 's/meetthegimp=mobile([0-9]+).mp4/meetthegimp$1-mobile.mp4/' meetthegimp=mobile*.mp4 prename is also probably linked to by rename and comes with PERL, so it should already be on your system. Brian Cluff On 10/29/2012 06:21 PM, Dazed_75 wrote: I have a bunch of

Re: mass rename help

2012-10-29 Thread Brian Cluff
Install the package mmv and then do: mmv "meetthegimp=mobile*.mp4" "meetthegimp#1-mobile.mp4" That should take care of it don't forget the quotes. It needs them even if there aren't any spaces and such. Brian Cluff On 10/29/2012 06:21 PM, Dazed_75 wrote: I have a bunch of files named "