ivanzoid
9/8/2018 - 11:47 AM

Bash test file exists.sh



if [ -f "$file" ]; then
    echo "$file found."
fi

if [ ! -f "$file"]; then
	  echo "$file not found."
fi