http://qs321.pair.com?node_id=481905


in reply to rename files

Untested, using the command-line 'rename' utility:
% rename 's/(\d)\.gif/$1+398 . ".GIF"/e' *.gif
Update: minor fix to filename suffix.