On Tue, May 27, 2003 at 02:54:30PM +0800, Miranda, Joel Louie M wrote: > I have this html pages and I just want to rename them all into *.php > Anyone have any ideas? Doing this in just one command? Or Just a script? for f in *.html ; do mv "$f" "`basename $f .html`.php" ; done -- Michael Heironimus