Convert dirnames from upper to lower case on linux:

/ Published in: Bash
Save to your folder(s)

Adapted from

Copy this code and paste it in your HTML
  1. for each in `ls -d *`;
  2. do newname=`echo $each | tr [A-Z] [a-z]`;
  3. mv $each $newname;
  4. done

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.