SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-03-2005, 02:44 AM
kregory's Avatar
kregory kregory is offline
Sage User
 
Join Date: Feb 2005
Posts: 15
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
Reply With Quote
  #2  
Old 03-03-2005, 03:52 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
http://forums.sage.tv/forums/showthread.php?t=10361
Reply With Quote
  #3  
Old 03-03-2005, 12:37 PM
kregory's Avatar
kregory kregory is offline
Sage User
 
Join Date: Feb 2005
Posts: 15
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
Reply With Quote
  #4  
Old 03-03-2005, 01:17 PM
Tundra- Tundra- is offline
Sage User
 
Join Date: Feb 2005
Posts: 9
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=
Reply With Quote
  #5  
Old 03-03-2005, 07:51 PM
Cayars Cayars is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 2,029
Quote:
Originally Posted by kregory
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!
If you happen to run my STV you can run Delete Orphan Files from thwe maint. menu or if you run the external Comskip Manager I wrote it will do this for you also.

There are now a few ways to do this as I'm sure you're noticing.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.