So, I had a pack of National Geographic TV Episodes — but each one is packaged in little rar packs. In general I have to unrar the files, and remove the pieces. But since there was a folder of like 100 of these episodes I wrote a python script to do it for me! (:
It’s very rudimentary, and probably mostly inefficient –> for example, I didn’t know if there was ‘contains’ method so I just run through a for loop to find the right file. (:
This will remove everything but the avi file that remains once the unrarring is complete. a real time saver for me! (:
You will need this python module to use winrar: it’s by ‘chilkat’ –> http://www.example-code.com/python/rar_unrar.asp
» More: Automated Unrarring
