[Gllug] error in bash script to rename files in a directory
Pete Ryland
pdr at pdr.cx
Tue Dec 31 02:08:44 UTC 2002
On Mon, 2002-12-30 at 23:41, Stig Brautaset wrote:
> On Dec 30 2002, Pete wrote:
> > $ perl -p -i.bak -e 's/php3/php/g' *
>
> Or without perl:
Well, if 'rename' works, he's got perl anyway, since rename is basically
just a perl one-liner with documentation.
Pete
--
Pete Ryland
http://pdr.cx/
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list