diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-12-16 23:52:27 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-12-16 23:52:27 (GMT) |
commit | 3f70847018870884d611fa86a1d9643c7e2a9816 (patch) | |
tree | d00e611ae2717ebdcef15c846fc50aedc99905c7 /newfile.sh | |
parent | 85b93697d95687486f61ed79deaae5e1fc4c9512 (diff) |
removed useless newfile.sh sample
Diffstat (limited to 'newfile.sh')
-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 |