mass rename help

Dazed_75 lthielster at gmail.com
Tue Oct 30 02:04:25 MST 2012


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 <brian at snaptek.com> wrote:

> 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 - PLUG-discuss at lists.plug.**phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>
>>
> ------------------------------**---------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.**phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>



-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20121030/1087e3e5/attachment.html>


More information about the PLUG-discuss mailing list