Re: rename v. script

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

 



On 5/19/05, Mike Klinke <lsomike@xxxxxxxxxx> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux