[wplug] changing extensions?
Michael H. Semcheski
mhsemcheski at gmail.com
Tue Mar 27 09:22:10 EST 2007
Another one:
find /top_directory/ -iname '*.htm' --exec mv {} {}l \;
I haven't tried that, but I think it would work.
On 3/27/07, Eric <esw148 at psu.edu> wrote:
>
> Here's a little bash script that should work if they're all in the same
> directory.
>
> #!/bin/bash
>
> cd /directory/where/htm/files/are/
>
> for i in `ls *.htm`;
> do
> mv $i $i"l"
> done;
>
> Eric
>
>
>
> Zach wrote:
> > Evening,
> >
> > I have many files (thousands) which end in .htm and I would like
> > changed to .html (mainly for aesthetic purposes I prefer this) is
> > there a nice Linux automated way I can do this from command line?
> >
> > Zach
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> > http://www.wplug.org/mailman/listinfo/wplug
> >
> >
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20070327/4cdc382f/attachment.html
More information about the wplug
mailing list