Dropbox has a long-standing bug with changing case of files and directories. This is a work around.
It renames the directoy name to name+1 and then to lowercase name.
CatPants
is renamed toCatPants1
CatPants1
is then renamed tocatpants
Dropbox has a long-standing bug with changing case of files and directories. This is a work around.
It renames the directoy name to name+1 and then to lowercase name.
CatPants
is renamed to CatPants1
CatPants1
is then renamed to catpants
for x in $(find * -type d | egrep '[A-Z]'); | |
do | |
mv $x ${x}1; | |
mv ${x}1 $(echo $x | tr '[A-Z]' '[a-z]'); | |
done; |