summaryrefslogtreecommitdiffstats
path: root/drop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'drop.sh')
-rwxr-xr-xdrop.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/drop.sh b/drop.sh
deleted file mode 100755
index 8519e19..0000000
--- a/drop.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-#----------------------------------------------------
-# Author: Florian "Bluewind" Pritz <flo@xssn.at>
-#
-# Licensed under WTFPL v2
-# (see COPYING for full license text)
-#
-#----------------------------------------------------
-# called by incrond to manage ~/drop
-#----------------------------------------------------
-for file; do
- case $(file -b --mime-type "$file") in
- application/x-bittorrent)
- chmod 644 "$file"
- mv "$file" /mnt/mistral/flo/torrent/watch
- transmission-remote mistral:9091 -a "/mnt/mistral/flo/torrent/watch/$(basename "$file")"
- ;;
- *)
- # nothing
- ;;
- esac
-done