Search found 3 matches

by dlbogdan
Sun Mar 02, 2014 3:29 pm
Forum: General
Topic: Multiple watch folders script
Replies: 2
Views: 4136

Re: Multiple watch folders script

Improved version #!/bin/bash inotifywait -q -r -m $1 --format %w%f -e create | while read file; do if echo "$file" | grep -iq "\.torrent" ; then canonfile=$(readlink -f "$file") dir=$(dirname "$canonfile") if echo `basename "$file"` | grep -iq "...
by dlbogdan
Fri Feb 28, 2014 9:26 pm
Forum: General
Topic: Multiple watch folders script
Replies: 2
Views: 4136

Multiple watch folders script

Hi, Already posted this but on the wrong subforum (Mac requests). I've managed to write a simple script in 5 minutes (a bit dirty but it works) for adding the multiple folder watch functionality to transmission-daemon (on linux). It's using inotify-tools. #!/bin/bash inotifywait -q -r -m $1 --format...
by dlbogdan
Fri Feb 28, 2014 6:39 pm
Forum: Mac Requests
Topic: Multiple Watch Folders?
Replies: 10
Views: 23439

Re: Multiple Watch Folders?

Hi, I've managed to write a simple script in 5 minutes (a bit dirty but it works) for adding the multiple folder watch functionality to transmission-daemon (on linux). It's using inotify-tools. #!/bin/bash inotifywait -q -r -m $1 --format %w%f -e create | while read file; do if echo "$file"...