Thursday, September 02, 2010

Converting filenames from UPPERCASE to lowercase

I searched and found the following thread:

Based on the post given by Jadu Saikia, I got the bash script of my own version as follows:
ls * | sed -e p -e 's/.*/\L&/g' |xargs -n 2 mv

One new thing I've learned in this example is the ``\L'' part, which can be found in sed's FAQ.

No comments:

Post a Comment