Add 'paths_to_lowercase.sh'

This commit is contained in:
Victor Polevoy 2019-06-11 12:10:12 +00:00
parent 9af0a6e3f5
commit 50a6457347
1 changed files with 5 additions and 0 deletions

5
paths_to_lowercase.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# Rename all the files/dirs in the current directory to lower case.
for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done