Re: script to recursively convert filenames to uppercase

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



2010/7/11 Patrick Burroughs <celticmadman@xxxxxxxxx>:
> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux