I 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.