To convert to lower case:
#!/bin/sh
for i in *
do
j=`echo $i | tr '[A-Z]' '[a-z]'`
mv $i $j
done
And to upper case:
#!/bin/sh
for i in *
do
j=`echo $i | tr '[a-z]' '[A-Z]'`
mv $i $j
done
Subscribe to:
Post Comments (Atom)
In this blog I write some entries about GNU/Linux (usually Debian or Ubuntu) related questions: installation, configuration, programming, ...
1 comments:
Good Startup. You contribution should be to broader auidence.
http://www.scmgalaxy.com and http://community.scmgalaxy.com
Post a Comment