blob: 9161d769b89ea3817cd7e3e95686569c789c0484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
#----------------------------------------------------
# Author: Florian "Bluewind" Pritz <f-p@gmx.at>
#
# Copyright (C) 2008-2009 Florian Pritz
#
# Licensed under GNU General Public License v3
# (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
|