blob: 4874039fcfb0f7e413e08fa219de4f3db9122029 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/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)
mv "$file" /mnt/mistral/flo/torrent/watch
;;
*)
# nothing
;;
esac
done
|