From: Yoann G. <jj...@us...> - 2005-12-02 02:07:52
|
Update of /cvsroot/ngetsuite/ngetsuite2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20987 Modified Files: ngetsuite.rb Log Message: added --batch group,nr,regex which tries to download regex with a thread pool of nr threads - regex is matched against each subject in the group, and the matches are uniq!ed and downloaded to the current directory Index: ngetsuite.rb =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite2/ngetsuite.rb,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ngetsuite.rb 11 Oct 2004 22:26:20 -0000 1.1.1.1 --- ngetsuite.rb 2 Dec 2005 02:07:43 -0000 1.2 *************** *** 1,4 **** #!/usr/bin/env ruby ! wd = __FILE__.sub(/^(.*)\/[^\/]*$/, '\1') Dir.chdir(wd) if FileTest.directory? wd --- 1,4 ---- #!/usr/bin/env ruby ! $startdir = Dir.getwd wd = __FILE__.sub(/^(.*)\/[^\/]*$/, '\1') Dir.chdir(wd) if FileTest.directory? wd *************** *** 45,49 **** [ '--set-poll-interval', '-o', GetoptLong::REQUIRED_ARGUMENT, 'intervall', 'Sets the polling intervall of the download manager'], [ '--show-next-queueitem', '-b', GetoptLong::NO_ARGUMENT, 'Shows the next available queue for the manager'], ! [ '--start-manager', '-m', GetoptLong::NO_ARGUMENT, 'Launches the download manager'] ] --- 45,50 ---- [ '--set-poll-interval', '-o', GetoptLong::REQUIRED_ARGUMENT, 'intervall', 'Sets the polling intervall of the download manager'], [ '--show-next-queueitem', '-b', GetoptLong::NO_ARGUMENT, 'Shows the next available queue for the manager'], ! [ '--start-manager', '-m', GetoptLong::NO_ARGUMENT, 'Launches the download manager'], ! [ '--batch', '-B', GetoptLong::REQUIRED_ARGUMENT, 'Starts to download a batch here'] ] |