Skip to main content

Auto Remove Torrents

How to use autoremove-torrents?

After installing autoremove-torrents, you will find config.yml under /home/${username}/.config/autoremovetorrents, it includes some basic use case. Visit Official document for more information. You can execute with following command:

/home/${username}/.local/autoremovetorrents/bin/autoremove-torrents -c /home/${username}/.config/autoremovetorrents/config.yml -l /home/${username}/.config/autoremovetorrents/logs

cronjob example:

crontab -e -u ${username}
add following things(run once every hour):
# min hour day month week command
0 * * * * /home/${username}/.local/autoremovetorrents/bin/autoremove-torrents -c /home/${username}/.config/autoremovetorrents/config.yml -l /home/${username}/.config/autoremovetorrents/logs

You can use to calculate your schedule.


If you see following information

WARNING: `pyenv init -` no longer sets PATH.
Run `pyenv init` to see the necessary changes to make to your configuration.

You can solve it with following code with root privilege

cat > /root/.bash_pyenv <<EOF
# pyenv
export PYENV_ROOT="/opt/pyenv"
export PATH="/opt/pyenv/bin:\$PATH"
eval "\$(pyenv init --path)"
Patch for qBittorrent connection issue

You can use following instruction to fix it

bash <(wget -qO- -o /dev/null)