rename v. script

THUFIR HAWAT hawat.thufir at gmail.com
Fri May 20 01:31:19 UTC 2005


On 5/19/05, Mike Klinke <lsomike at futzin.com> wrote:
...
> If all the files in the directory are to have the 
> additional ".html" suffix added then something like 
> this may do:
> for i in *; do mv $i `basename $i`.html; done
...

this seems to be the briefest and most common solution.  thanks for
the addition tip, snipped, for just changing files which begin with a
digit, which I will file away.

thanks for the input, everyone.

-Thufir




More information about the fedora-list mailing list