Re: renaming files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



You don't need a script, you can do that with:

rename "EOS-1D Mark III copy" "" *.jpg

That removes "EOS-1D Mark III copy" from all files ending in .jpg, assuming
they are all in one directory.

Thanks,
Jarek Sedlacek




On Thu, Mar 1, 2012 at 6:13 PM, pete <p.nikolic1@xxxxxxxxxxxxxx> wrote:

> Hi folks
>
> Bit sort of off topic but hopefully ok
>
> I have some 350 picture files  with names  along the lines of
> "IMG_7127 EOS-1D Mark III copy.jpg"    i would like to rename them all
> to more like "IMG_7127.jpg"  i have tried a few times tonight and cant
> get my head around it anyone got a script that can do it
>
> Thanks    Pete .
>
>
> --
> Linux 7-of-9 3.2.8-1-ARCH #1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012
> x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux
>


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux