Ran into this when building this little site here. Wanted consistency, so figured this out with some Googling.
for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done;
Ran into this when building this little site here. Wanted consistency, so figured this out with some Googling.
for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done;