Am Samstag, 30. Januar 2010 23:01:55 schrieb Istvan Gabor:
Hello:
I have an old program CD from wich I would like to copy files. When I mount the CD all the filenames appear in lowercase but I would like them in uppercase. I've read the mount manual but could not find out how to mount the CD so that the file names would be shown in uppercase.
Could you help with this, please?
Thanks in advance,
Istvan
I do not think that's an option to "mount" ls -la |tr [a-z] [A-Z] show the files in uppercase. If you want to copy them and convert them to uppercase, here's an example: for i in /mnt/*; do e=$(echo $i| tr [a-z] [A-Z]); cp $i ~/copy/${e##*/} ;done This snippet works only for plain files, not directories. However, a short google search for "covert uppercase files linux" should help you also. Cheers, Martin -- I would rather be exposed to the inconveniences attending too much liberty, than those attending too small a degree of it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org