Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> writes:
> On 10/06/2011 10:54 AM, Eduardo M KALINOWSKI wrote:
>>
>> Something like
>>
>> rename -n 's/(\d+)/$1+198/e' *.JPG
>>
>> should do the trick, but note that it might match other files.
>
> That looses the trailing zeroes. Try this:
>
> rename -n 's/(\d+)/sprintf("%05d", $1+198)/e' *.JPG
I used this command abowe. That did the trick. :)
--
Regards, Pal
<http://cspl.me>