Eduardo M KALINOWSKI <edua...@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>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87y5wyi4ki.fsf@debian-asztal.excito

Reply via email to