Eduardo M KALINOWSKI <[email protected]> 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 [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

