Files
dagu/tests/bin/testfile.sh
T
2022-04-23 01:14:00 +09:00

8 lines
97 B
Bash
Executable File

#!/bin/sh
if [ -f "$1" ]; then
echo "file exists"
exit 0
fi
echo "file not found"
exit 1