[arch-general] script to recursively convert filenames to uppercase

Patrick Burroughs celticmadman at gmail.com
Sun Jul 11 06:31:55 EDT 2010


On Sun, Jul 11, 2010 at 03:14, F. Gr. <fgr at anche.no> wrote:
> Does anybody know a Perl or Bash script to do what I've written in the
> subject?

I believe this should do it:
find -depth -execdir sh -c 'mv {} $(echo {} | tr a-z A-Z)' \;

~celti


More information about the arch-general mailing list