If you want change a string to lower, do this:
echo XpTo | tr “[:upper:]” “[:lower:]”
for all files in a directory you can do with the for command:
for i in * ; do cp $i ../wordpress_gallery/`echo $i | tr “[:upper:]” “[:lower:]”` ; done
To upper, you only need to change the parameters order:
echo XpTo | tr “[:lower:]” “[:upper:]”
I do not even know how I ended up here, but I thought this post was good.
I do not know who you are but definitely you are going to a famous blogger if you
are not already 😉 Cheers!