PHP Script to remove untracked files from your download directory
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
idanoo b3c239ad18
Exit on no files
2 months ago Initial upload 2 months ago
clean.php Exit on no files 2 months ago


Super basic PHP script which gets all torrents + files associated.
It will then list the untracked files (usually extracted files) and ask if you wish to delete them.

$ php clean.php "<qbittorrent host>" "<username>" "<password>" "<download path>"

For example:

$ php clean.php "" "bob" "super_secure_password" "/home/bob/Downloads"