olympia Posted August 26, 2008 Share Posted August 26, 2008 Can it be solved somehow, that if I copy a multiple rar archive to a directory, than it is automatically gets unrared and copied to an other directory, while to original rarset gets deleted at the same time? I didn't find yet any solution for Linux, yet. As I understand hellaNZB is doing something similar, but is is developed for usenet downloads. Am I right on this? One thing which I logically cannot imagine: how would the system know, that the copied content is ready for extracting and is not still beeing copied? Quote Link to comment
bubbaQ Posted September 5, 2008 Share Posted September 5, 2008 I have nzbget and unrar installed on my system, and am using the nzbget-housekeeper.pl script from http://www.prodynamic.co.uk/nzbget/nzbget.html You will also need libpar2 from http://sourceforge.net/project/showfiles.php?group_id=30568&package_id=171019 Note, it installs the libs in the wrong place.... so you have to move them. Quote Link to comment
xbit Posted September 5, 2008 Share Posted September 5, 2008 bubbaQ, I don't mean to hijack this thread, but is there any chance that you could create a new thread with instructions for setting up getnzb? I have hellaNZB already set up, but it is a dead project and this one still looks to be active. Do you know if the parcheck only downloads necessary pars to do repair? Also, the housekeeper script says it will merge avi's. Does that work? That would be awesome to have something that would download, par, unrar, and merge multi part avi's automatically. olympia, Seems like this is possible, though I don't have the technical know how to implement it. You could create a script that is run by a cron job every 5 or 10 minutes. This script would look in a specified folder for .rar files to extract. If one is found it would also check the time stamps of all files in the directory and make sure that all files have not been modified for at least 1 minute. That should be enough to tell that files are finished being copied to the directory. It would extract the .rar file to some other directory and then delete all files that have the same name as the .rar file, these files will all have different extentions (.rar, .r00, .r01 etc). There may be holes in my logic, but I thought I'd share the idea. Quote Link to comment
bubbaQ Posted September 5, 2008 Share Posted September 5, 2008 Nzbget's config allows you to configure it to get all pars or just as much as is needed. If you have an NZB program and just want to chron an unrar script. the nzbget-housekeeper.pl script is all you need. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.