11 Nov
2007
11 Nov
'07
07:30
Hi all,
I have a bunch of html files that i need to do a couple of things to: 1.remove the html and head tags and replace them with other code 2.rename the file to .php
I recommend rpl to replace strings in multiple files: http://fresh.t-systems-sfr.com/unix/src/privat2/rpl-1.4.0.tar.gz/ Changing the extension of a bunch of files is as easy as (/bin/sh): for i in *.html ; do mv $i `basename $i .html`.php done You need to be a fan of the command line, though ;). Rgds, Stephan. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org