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

bardo ilbardo at gmail.com
Sun Jul 11 06:37:41 EDT 2010


2010/7/11 Patrick Burroughs <celticmadman at gmail.com>:
> I believe this should do it:
> find -depth -execdir sh -c 'mv {} $(echo {} | tr a-z A-Z)' \;

Looks good, anyway s/he asked for files, so I'd add a '-type f' to the
command line.

C


More information about the arch-general mailing list