|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Orphaned ComSkip Files
Sorry if this has been covered but I wanted to start a dedicated thread to this... I tried searching the hundreds of posts in the comskip thread and my brain exploded! Has anyone come up with a moderately simple way to delete these orphaned files? If you could post a few methods I know it would be appreciated by many and hopefully a little easier to find!
__________________
My Sys: P4 3.0ghz Prescott w/ HyperThreading 1.5gb Ocz Ram Asus p4s800 (2)PVR-150mce 19" Viewsonc 27" Sdef Magnavox Flat Screen |
#2
|
||||
|
||||
#3
|
||||
|
||||
Nielm, thanks for the reply... it looks like a great way to go. Does anyone else have any other methods worth suggesting?
__________________
My Sys: P4 3.0ghz Prescott w/ HyperThreading 1.5gb Ocz Ram Asus p4s800 (2)PVR-150mce 19" Viewsonc 27" Sdef Magnavox Flat Screen |
#4
|
|||
|
|||
I like to just use a simple and flexible .bat file scheduled periodically throughout the day...
This one is based on other user's contributions from other threads... Tundra- @echo off SET tdir=F:\SageTV for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.txt"') do if NOT EXIST "%%i.mpg" (del "%%i.txt") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.log"') do if NOT EXIST "%%i.mpg" (del "%%i.log") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.chp"') do if NOT EXIST "%%i.mpg" (del "%%i.chp") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.logo.txt"') do if NOT EXIST "%%i.mpg" (del "%%i.logo.txt") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.csv"') do if NOT EXIST "%%i.mpg" (del "%%i.csv") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.srt"') do if NOT EXIST "%%i.mpg" (del "%%i.srt") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.smi"') do if NOT EXIST "%%i.mpg" (del "%%i.smi") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.cut"') do if NOT EXIST "%%i.mpg" (del "%%i.cut") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.VPrj"') do if NOT EXIST "%%i.mpg" (del "%%i.VPrj") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.ccyes"') do if NOT EXIST "%%i.mpg" (del "%%i.ccyes") for /f "tokens=1 delims=." %%i in ('dir /s/b "%tdir%\*-?.ccno"') do if NOT EXIST "%%i.mpg" (del "%%i.ccno") set tdir= |
#5
|
|||
|
|||
Quote:
There are now a few ways to do this as I'm sure you're noticing. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|