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 "^\._"; then
echo
else
#echo "Waiting for the file to ...
Search found 1 match
- Mon Oct 26, 2015 10:33 pm
- Forum: Mac Requests
- Topic: Multiple Watch Folders?
- Replies: 10
- Views: 25534