Search found 1 match

by koesherbacon
Mon Oct 26, 2015 10:33 pm
Forum: Mac Requests
Topic: Multiple Watch Folders?
Replies: 10
Views: 23401

Re: Multiple Watch Folders?

Hi, #!/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 "^\._"; ...