Created
October 8, 2015 08:48
-
-
Save Leask/1c47342ff5d4d2ff8700 to your computer and use it in GitHub Desktop.
Handle "confdir-14B---/confdir-14B---" looping problem.
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
while true | |
do | |
mv confdir-14B---/confdir-14B--- a | |
if [[ $? -ne 0 ]] | |
then | |
break | |
fi | |
rm -rf confdir-14B--- | |
mv a confdir-14B--- | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment