Mailing List Archive


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

Re: [tlug] Old dogs / new tricks



On 28/12/05, Edward Middleton <edward@example.com> wrote:

> There is actually at least two rename command and they are significantly
> different.
[...]
> the first allows sed like syntax i.e.
>
> rename 's/\.htm$/\.html/' *
>
> while the second rename [match] [replacement] [glob]
>
> rename .htm .html *.htm

I personally find the latter covers about 90% of my common use cases,
but it is good to know about the former option for the remaining 10%.
:)

/me runs to a console and runs: sudo emerge -av rename

Cheers,
Josh

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links