changing lc to uc file names
Joel Spolsky
spolsky-joel at CS.YALE.EDU
Sun Nov 26 13:53:52 AEST 1989
In article <3764 at hydra.gatech.EDU> ccsupos at prism.gatech.EDU (SCHREIBER, O. A.) writes:
|I would like to change a collection of file names from
|lower case to upper case.
in most implementations of csh this works:
% foreach i ( * )
? mv $i `echo $i | tr a-z A-Z`
? end
Your mileage may vary, esp. if your version of tr doesn't grok "a-z".
+----------------+----------------------------------------------------------+
| Joel Spolsky | bitnet: spolsky at yalecs.bitnet uucp: ...!yale!spolsky |
| | internet: spolsky at cs.yale.edu voicenet: 203-436-1538 |
+----------------+----------------------------------------------------------+
#include <disclaimer.h>
More information about the Comp.unix.wizards
mailing list