Win Helper for cleanup of left over files from 4TR & ComSkip - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: Win Helper for cleanup of left over files from 4TR & ComSkip (/showthread.php?tid=136175) |
Helper for cleanup of left over files from 4TR & ComSkip - Christoph21x - 2012-07-15 == EDIT 2012-09-19: New Version 1.1 available == See Post #3 Hi All, a couple of days ago, I got worried about all this garbage of left over files and I wrote two little helper batch files which clean up the directories from the left-overs from 4TR & ComSkip: *.thmb, *.4tr, *.txt, *.log, etc. - whatever you have left when you deleted a show from the player when having watched them like from XBMC, which only deletes the *.ts file and leaves the rest. The two cmd files search the directory (and sub, if selected) for files for which no corresponding video file is present and deletes or moves them. Call CleanDir.cmd from your service task or manually in the directory you want to clean up. For any "candidate", it will repeatedly run DelNoTS.cmd to check, if a corresponding *.ts file is present or missing and take action (... or not ). Maybe anyone may find them useful as well. Adjust them to your needs. Short info:
Adjust them to your needs, I would be glad if someone can use them. Download (2,5 kB): http://21x.eu/downloads/CleanDirectory.html Kind regards from Switzerland - Christoph Tags: delete left-over files 4TR fortherecord 4therecord comskip move clean cleanup remain service *.txt *.thmb *.log *.csv no corresponding video show recorded RE: Helper for cleanup of left over files from 4TR & ComSkip - facted - 2012-08-28 Thanks! Very helpful. RE: Helper for cleanup of left over files from 4TR & ComSkip - Christoph21x - 2012-09-19 (2012-08-28, 04:06)facted Wrote: Thanks! Very helpful. Very welcome! I'm glad, if someone can make use of it... Enhanced version 1.1 available under http://21x.eu/downloads/CleanDirectory.html. Revision History:
Kind regards - Christoph21x RE: Helper for cleanup of left over files from 4TR & ComSkip - Livin - 2012-09-19 I want to thank you for looking to help the community. Though, in case you are not aware, I wanted to present an alternative... A small app called Belevadere [http://lifehacker.com/341950/belvedere-automates-your-self+cleaning-pc] is the same or less effort to setup... and it does far more (if you want it too). RE: Helper for cleanup of left over files from 4TR & ComSkip - Christoph21x - 2012-09-19 Hi Livin, thanks for your information! I will try this one out - thanks. Greetz - Chris EDIT after try: - must be run as Admin - crashes, even can't be started many times - can't look for MISSING files compared to other files files that are existing => I stick to my simple batch files... But nevertheless - thanks, Livin! RE: Helper for cleanup of left over files from 4TR & ComSkip - facted - 2012-10-22 How do you call this program if it's not placed in the directory you want to run it for? I can't find anywhere in CleanDir.cmd where I can edit the folder I want scanned. Thanks! RE: Helper for cleanup of left over files from 4TR & ComSkip - Christoph21x - 2012-12-18 Hi facted, excuse my late answer - saw your post only now. It's simple: you call this CleanDir from WITHIN the directory which you want to clean (plus sub-dirs) Greetz - Christoph |