batch rename

Jim Bow jimbow at darq.net
Mon Jan 7 18:08:32 PST 2008


Jeff Laine wrote:

> My goal is to rename several files in such a way as to decapitalize starting
> letters in their names.
> The solution seems to be simple but I'm stuck. What should I use? awk/sed or
> write some shell-script?

I found myself at this point once too, and then I discovered 
/usr/ports/sysutils/rename.

Sure, its not as crazy as krename (it wont read any metadata), but it 
runs in a terminal, is written in C and supports extended regular 
expressions.


JimBow


More information about the freebsd-questions mailing list