[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] mv command



On Fri, Nov 10, 2000 at 03:09:59PM -0800, Theodore Jones wrote:


Hi,

in a bash type

	for i in *.html; do mv "$i" "`basename $i .html`.php3"; done

That's all.

Bye,

	Marco



> Hello,
> 
> This is a real basic question I know, but how can I move or rename a bunch of
> files with one suffix extension to another set of the same files with a
> different suffix?
> 
> It seemed like I used to be able to say at a command prompt:
> 
>     mv *.html *.php3
> 
> but this doesn't seem to work.  Anybody have a clue..?
> 
> ~ Theo

-- 
These PRESERVES should be FORCE-FED to PENTAGON OFFICIALS!!