Install and Run


There are two ways to install autoremove-torrents, but I highly recommend installing from pip.

Install from pip

pip install autoremove-torrents

Install from GitHub

git clone
cd autoremove-torrents
python3 install


Just type the following command line in your terminal:


autoremove-torrents will look for the config.yml in the current working directory. For more command line arguments, please see the table below.

Arguments List


When you are using the full name of the arguments, you need to lead the values of the arguments with a equal sign. But if you are using the abbreviation, you only need a space to lead the argument values.

Arugments Argument Abbreviations Description
–view -v Run and see which torrents will be removed, but don’t really remove them.
–conf -c Specify the path of the configuration file.
–task -t Run a specific task only. The argument value is the task name.
–log -l Sepcify the path of the log file.
–debug -d Enable debug mode and output more logs.

For example:

autoremove-torrents --view --conf=/home/myserver/autoremove-torrents/config.yml

Also, it equals to:

autoremove-torrents -v -c /home/myserver/autoremove-torrents/config.yml


Uninstall from pip

If your autoremove-torrents was installed via pip, you can simply uninstall it by using pip:

pip uninstall autoremove-torrents

Uninstall manually

However, if it was installed by, you need to remove all the files manually.


cd autoremove-torrents


Reinstall the program and record which files were copied:

python3 install --record files.txt


Use xargs to remove each file:

cat files.txt | xargs rm -rf

Or if you’re running Windows, use Powershell:

Get-Content files.txt | ForEach-Object {Remove-Item $_ -Recurse -Force}