LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   convert filenames case (https://www.linuxquestions.org/questions/linux-general-1/convert-filenames-case-11730/)

griv 01-14-2002 01:02 AM

convert filenames case
 
Is there somebody who knows how to convert easily all filenames of a directory into
lower case ? There is certainly an utility or bash script to do that, but I didn't find any
so far, and I don't have time for now to write one... I'll have to learn bash commands
before :-). Actually I saw the "Ark" archive program could do that, but I didn't succeed
to make the functionality work.
Thank you in advance for your help !

speck 01-14-2002 02:25 AM

If you want a GUI (and have KDE2) try Krename . If you want a command line tool, then rename .


Speck

bluecadet 01-14-2002 06:06 AM

for i in *; do mv "$i" "`echo $i | tr A-Z a-z`"; done

GUI? pahh not likely!

griv 01-14-2002 10:56 PM

Thank you very much ! I'll try them very soon.

griv 01-14-2002 10:59 PM

ATTN: bluecadet

Thank you very much ! I tried it : that works fine.:)

bluecadet 01-15-2002 02:41 AM

you expected anythign less??? :D

griv 01-17-2002 11:10 PM

Of course no ! But I'm surprised by the power of
a simple command line !;)


All times are GMT -5. The time now is 01:55 AM.