try
this
mv
*.inc *.php.
You
should always backup or make a copy of the entire directory in which you are
operating.
With
great power comes awesome responsibility.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Lucas
Sent: Wednesday, September 04, 2002 2:59 PM
To: '[EMAIL PROTECTED]'
Subject: NEWBIE: Is there an easy way to rename filesI am trying to rename a bunch of files with extension .inc to .php in one fell-swoop. Is there a set of commands I can pipe to each other to do this like:ls *.inc | xargs ....or do I need to do a for loop.I read up a little on xargs and on using the ` operator for passing the output to other programs but I am a little mixed up right now trying to grasp xargs, sed, awk, and more.Thanks in advance.