Skip to content

Instantly share code, notes, and snippets.

@Nazrath10R
Created September 25, 2018 00:38
Show Gist options
  • Save Nazrath10R/516877d7238691c3cfc7607063958876 to your computer and use it in GitHub Desktop.
Save Nazrath10R/516877d7238691c3cfc7607063958876 to your computer and use it in GitHub Desktop.
do files exist
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