Created
September 25, 2018 00:38
-
-
Save Nazrath10R/516877d7238691c3cfc7607063958876 to your computer and use it in GitHub Desktop.
do files exist
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
if ls /data/*cspsx 1> /dev/null 2>&1; then | |
echo "files do exist" | |
else | |
echo "files do not exist" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment