diff options
Diffstat (limited to 'etc/rhdropbox/sample/newfile.sh')
-rwxr-xr-x | etc/rhdropbox/sample/newfile.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/etc/rhdropbox/sample/newfile.sh b/etc/rhdropbox/sample/newfile.sh deleted file mode 100755 index bef4ea5..0000000 --- a/etc/rhdropbox/sample/newfile.sh +++ /dev/null @@ -1,16 +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/rhdropbox-sample.log -sleep 5 -rm -f $DIR/$FILENAME >> /tmp/rhdropbox-sample.log 2>&1 - -exit 0 - |