Skip to content

How to configure watch directory from config.yaml, CLI or Bash script? #6934

Answered by drew2a
a-t-0 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

How can I set the watch folder to be: /home/username/watchfolder from the command line or a bash script?

You have to add the following lines to the triblerd.conf file:

[watch_folder]
    enabled = True
    directory =  /home/username/watchfolder 

Is the watch folder usage boolean, and watch folder directory setting stored in some config.yaml file, and if yes, where?

We use an ini-like config file that is stored in ~/.Tribler/<TRIBLER_VERSION>/triblerd.conf where TRIBLER_VERSION is Tribler version, like 7.11 or 7.12.

Is there perhaps an CLI API that allows for specifying the Tribler watch folder?

There is no special CLI API but you can use Tribler's REST API

Still, the easiest wa…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@a-t-0
Comment options

Answer selected by a-t-0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants