summaryrefslogtreecommitdiffstats
path: root/drop.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-07-10 21:46:09 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-07-10 21:48:01 +0200
commitd2a44efbe707b7210107fabce58fb99c1a3b251e (patch)
treec5527ba09d85d044326a06393ad8d0f88d8ac167 /drop.sh
parent5a311acfe51d396dd65fe72ec478ceebea64f6c1 (diff)
downloadbin-d2a44efbe707b7210107fabce58fb99c1a3b251e.tar.gz
bin-d2a44efbe707b7210107fabce58fb99c1a3b251e.tar.xz
mass commit
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'drop.sh')
-rwxr-xr-xdrop.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/drop.sh b/drop.sh
index 4874039..8519e19 100755
--- a/drop.sh
+++ b/drop.sh
@@ -11,7 +11,9 @@
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