Used to connect to QBittorrent API and remove EXE files not associated within a designated category for applications.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-23 09:30:38 -05:00
dist updated to latest to include log folder 2026-11-23 09:19:26 -05:00
EXERemover initial functioning commit 2026-11-23 09:05:32 -05:00
.gitignore initial functioning commit 2026-11-23 09:05:32 -05:00
appsettings.example.json initial functioning commit 2026-11-23 09:05:32 -05:00
check.py initial functioning commit 2026-11-23 09:05:32 -05:00
info.log initial functioning commit 2026-11-23 09:05:32 -05:00
LICENSE Initial commit 2026-11-23 07:42:46 -05:00
QBitEXERemover.spec initial functioning commit 2026-11-23 09:05:32 -05:00
README.md updated readme to fix paths / spelling. 2026-11-23 09:30:38 -05:00
requirements.txt initial functioning commit 2026-11-23 09:05:32 -05:00

EXE_Remover

Used to connect to QBittorrent API and remove EXE files not associated within a designated category for applications.

Running from Distribution

Windows

  1. Download dist/QBitEXERemover.exe
  2. Make appsettings.json in the same folder as QbitEXERemover.exe is stored.
  3. Copy appsettings.example.json contents into appsettings.
  4. Update appsettings.json to match your environment and add exclusion tags.
  5. Open Task Scheduler and setup a basic task to run every 5 minutes (or however often).
  6. Logs will be stored in the same folder.

Running from Source

  1. Clone application from Source
  2. Make a copy of appsettings.example.json and rename to appsettings.json
  3. Add your configurations to appsettings.json.
    • Can leave EXCLUDE_REMOVAL_FROM_TAGS as programs or just set it up as a blank list [""]
  4. Create a virtual environment
python -m venv env
  1. Install requirements.
.\env\Scripts\pip.exe install -r requirements.txt # Windows

env/bin/pip3 install -r requirements.txt # Linux
  1. Can then setup as a scheduled task for your own timing interval.
  2. All removed torrents will be logged to info.log in the same folder.

Troubleshooting

  • If there are connection issues or nothing happening.
    • Attempt to run the distribution file directly within PowerShell / Bash terminal, not all the error codes are handled with log files and some print out to the console.