Re: mass rename help

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
To: Main PLUG discussion list
Subject: Re: mass rename help
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 "meetthegimp=mobile999.mp4" where 999 is
> any 3 digit number. I want to rename them all to be
> "meetthegimp999-mobile.mp4".
>
> Can anyone give me a mv or rename command to do them all in one fell
> swoop? I could probably figure one out but it would take more time due
> to having to make test cases and doing trial and error than just asking
> you folks. Thanks in advance.
>
> --
> Dazed_75 a.k.a. Larry
>
> Please protect my address like I protect yours. When sending messages to
> multiple recipients, always use the BCC: (Blind carbon copy) and not To:
> or CC:. Remove all addresses from the message body before sending a
> Forwarded message. This can prevent spy programs capturing addresses
> from the recipient list and message body.
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss