Content added Content deleted
imported>(logged).anon-online.org No edit summary |
imported>Finn mNo edit summary |
||
Line 1: | Line 1: | ||
<h1>Bashscript for transforming Filename</h1> |
<h1>Bashscript for transforming Filename</h1> |
||
I have encountered one problem when I tried to use software I have copied from a windows machine in a windows emulator. The filenames where all in capital letters most windows |
I have encountered one problem when I tried to use software I have copied from a windows machine in a windows emulator. The filenames where all in capital letters most windows programms didn't work until I had renamed them all. Instaed of renaming each file with one seperate "mv" command you can use this little, useful script |
||
<br> |
<br> |
||
<br> |
<br> |
Revision as of 21:14, 17 May 2004
Bashscript for transforming Filename
I have encountered one problem when I tried to use software I have copied from a windows machine in a windows emulator. The filenames where all in capital letters most windows programms didn't work until I had renamed them all. Instaed of renaming each file with one seperate "mv" command you can use this little, useful script
for i in *
do mv -i $i $(echo $i | tr [A-Z] [a-z])
done