On Wed, Aug 11, 2004 at 09:32:55AM EST, Luke Yelavich wrote: > # for dir in `find . -type d -name "*[A-Z]*"`; do mv "$dir" `echo "$dir" | tr > '[A-Z]' '[a-z]'`; done > # for file in `find . -type f -name "*[A-Z]*"`; do mv "$file" `echo "$file" | tr > '[A-Z]' '[a-z]'`; done
Actually, I forgot to point out the path point. Instead of find . it should be find /path/to/dir. Sorry about that. Luke -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
