diff options
-rwxr-xr-x | newfile.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/newfile.sh b/newfile.sh deleted file mode 100755 index e388c4a..0000000 --- a/newfile.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -DIR=$1 -FILENAME=$2 -SIZE=$3 - -if [ -z "$FILENAME" ]; then - exit 1; -fi - -echo "new file of size $SIZE detected: $DIR/$FILENAME" >> /tmp/newfile.log -sleep 5 -rm -f $DIR/$FILENAME >> /tmp/newfile.log 2>&1 - -exit 0
\ No newline at end of file |