From 887d6d23bcce921a8c1cc08135f0125a4a29218e Mon Sep 17 00:00:00 2001 From: PyroScope Project Date: Wed, 9 Mar 2016 18:08:24 +0100 Subject: [PATCH] Clarify how to use or fix directory.watch.added #374 --- TORRENT-Watch-directories.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TORRENT-Watch-directories.md b/TORRENT-Watch-directories.md index 639d0cd..26655f1 100644 --- a/TORRENT-Watch-directories.md +++ b/TORRENT-Watch-directories.md @@ -34,8 +34,9 @@ The reverse happens if 'start_tied' is called. Inotify ------- -``` +On Linux and using v0.9.7+, you may use inotify to watch a directory, and the provided command is called with the the full path of new files as the first argument. Use `method.insert` to define more complex multi-command inotify handlers. + +```ini directory.watch.added = "~/Download/watch/", load.start ``` -On Linux you may use inotify to watch a directory, and the command is called with the the full path of new files as the first argument