Monday, 1 October 2018

Rename multiple file names to lower case in Unix / Linux

for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done

No comments:

Post a Comment

Number of Visitors