Bash file exists
FILE_PATH="$PWD/foo/bar.json"
if [ ! -f "$FILE_PATH" ]; then
echo -e "ERROR Graph file ( $FILE_PATH ) does not exist. Exiting."
exit 0
fi
FILE_PATH="$PWD/foo/bar.json"
if [ ! -f "$FILE_PATH" ]; then
echo -e "ERROR Graph file ( $FILE_PATH ) does not exist. Exiting."
exit 0
fi