need to lcase/tolower/strlwr a directory hierarchy, is there an intrinsic util?

Lowell Gilbert freebsd-questions-local at
Sat May 17 14:07:23 UTC 2008

"Steve Franks" <stevefranks at> writes:

> Just found strings(1), the util, thought there might be something like
> that for lcase/tolower/strlwr?  Would definitely pretty up my old
> photos directories from my win32 days...

Not clear on what you want here.  

Maybe something like 
  for fil in "[A-Z]* ; do mv $fil `echo $fil |tr "[A-Z]" "[a-z]" ` ; done
[untested], perhaps?
Lowell Gilbert, embedded/networking software engineer, Boston area

More information about the freebsd-questions mailing list