Created
October 2, 2014 03:39
-
-
Save joaorafaelm/9f91f3c88cd9b1d69dcb to your computer and use it in GitHub Desktop.
upper to lower
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for arquivos in $(ls $1) ; | |
do | |
novoarquivo=`echo $arquivos | tr \[:upper:\] \[:lower:\]` | |
mv "$1/$arquivos" "$1/$novoarquivo" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment