Nice idea! Check out the code for FakeDetector , I think you may find a fair bit of it useful. It is a queue/pp script. The function list_all_rars(dir) is used to call unrar on each new file downloaded. You might be able to change the line command = [unrar(), "vb", dir + '/' + file] to get unrar to ...