Re: parallel wget in perl

2013-02-03 Thread Ole Tange
On Thu, Jan 31, 2013 at 5:22 PM, yacob sen wrote: > > Here is what I have tried (the snippet of the perl script): > > my $year= '2013'; > my $day='01' > @teams =( 'aa', 'bb', 'cc'); > > There are as an example three files in the ftp server of the format: > > aa01.txt > bb01.txt > cc01.tx > > whic

Re: Feature request: parallel --halt-on-success, inverse of --halt-on-error

2013-02-03 Thread Ole Tange
On Fri, Feb 1, 2013 at 10:05 AM, Ævar Arnfjörð Bjarmason wrote: > I just wrote this to speed up a single-threaded password cracker on an > 8 core box: > > parallel --gnu --halt-on-error 2 'echo {} && (password-cracker > file && exit 1) || exit 0' ::: {1..8} > > I.e. you want to exit as soon as