[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Renaming multiple extensions-file on unix..



Hello,

Thanks to everyone for replying. I've tried some of them and they worked
fine.
How ever I did a search also on google and found a website about renaming
some extensions also in batch, here are some of the examples and the url
link to it.

for file in *.html ; do mv $file `echo $file | sed 's/\(.*\.\)html/\1php/'`
; done

http://artlung.com/lab/other/unix-batch-file-rename/


Thanks,
Louie



-----Original Message-----
Sent: Tuesday, May 27, 2003 3:10 PM
To: debian-user
Subject: Renaming multiple extensions-file on unix..


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: