Created
August 22, 2009 23:31
-
-
Save rafaelrinaldi/173042 to your computer and use it in GitHub Desktop.
Check if there's any .svn file into some folder
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
# Check if there's any .svn file into some folder | |
has-svn-files() { | |
if [[ `find $1 -name *.svn` = "" ]]; then | |
echo "false" | |
else | |
echo "true" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment