Skip to content

Clarify how to use or fix directory.watch.added #374

Description

Your wiki page TORRENT Watch directories states that one can use inotify on Linux for watching directories:

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

However, I can't figure out how to use this command.

Having

directory.watch.added = "~/Download/watch/", load.start

in the rtorrent.rc, starting rtorrent results in the error:

rtorrent: Failed to parse command line option: Error in option file: ./.rtorrent.rc:43: Command "directory.watch.added" does not exist.

I figured, one should use it like the other commands start_tied, stop_untied, etc., so I put

schedule = inotify_watch_directory,0,0,"directory.watch.added=~/Download/watch/,load.start"

into the rc. The, rtorrent starts up, but prints:

(11:01:37) Scheduled command failed: inotify_watch_directory: Command "directory.watch.added" does not exist.

I'm on version 0.9.6-3 of the arch linux package (Rakshasa's BitTorrent client version 0.9.6.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions