[Gllug] perl script

Philippe Rousselot linux at rousselot.org
Wed Aug 21 17:09:56 UTC 2002


Hi,

I need to modify the title of several files and would like to run a script
I need to invert letter 1 with letter 4 and letter 2 with letter 5

01_02_03_04.jpeg becomes 02_01_03_04.jpeg


#!/bin/bash
for i in *jpeg
do
rename ???????
done



Your help would be greatly appreciated.

Thanks


Philippe



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list