View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Feb 15, 2010 6:52 pm 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
I had a drive fail, and am trying to get rid of any orphaned recordings. Is the script myth.find_orphans.pl somewhere in LinHES? I looked in /usr/local/bin, and its not there.

Thanks.


Last edited by yaplej on Thu Aug 05, 2010 10:40 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 15, 2010 7:23 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
/usr/share/mythtv/contrib/maintenance/myth.find_orphans.pl


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 15, 2010 10:10 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Use the find Luke!
Code:
find / -name myth.find_orphans.pl -print

You don't need to become a find expert, but this is a basic pattern anyone dealing with a Linux/Unix system should pick up. Like learning about ctrl-left-click in MS-Windows to select more than one non-contiguous thing from a list.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 16, 2010 1:48 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Thanks. For both.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 16, 2010 3:48 am 
Offline
Joined: Fri Nov 03, 2006 6:25 pm
Posts: 47
Location: Montreal, Quebec
Sorry to bump in,

Find is the expert's way, I use locate, no / or - to remember where to insert !

Code:
# locate *orphan*



I am lazy and I save on keystrokes!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 16, 2010 6:31 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Yep, me too, but find always works and is current, so I teach that first and save locate for later. ;-)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 162 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu