string shell command?
What is the bash command to make everything in the directory (in the filenames) lowercase??
Also, is there a website with a bunch of these type of commands? Thanks |
Not bash spesific, but an easy way to do it:
Code:
rename 'y/A-Z/a-z/' * |
is there a website where it displays all commands and their indepth help file to it?
|
hmm
i type rename 'y/A-Z/a-z/' * and it doesn't return anyting, but it doesn't work :( |
|
Works for me, it renames all files to lowercase.
|
hmm, anyone?
|
ok, other way to do it:
Code:
for i in *; do mv $i `echo $i | tr A-Z a-z` ; done |
hmm
i get this error :S Quote:
|
That is the correct output. Some files are just lowercase already. Rest of the files are now lowercase too.
|
and oh.. you seem to have spaces in your files..
|
All times are GMT -5. The time now is 12:17 PM. |