[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parallel wget in perl
From: |
Ole Tange |
Subject: |
Re: parallel wget in perl |
Date: |
Tue, 5 Feb 2013 12:47:50 +0100 |
On Tue, Feb 5, 2013 at 11:34 AM, yacob sen <yacob_123@yahoo.com> wrote:
>
> Thank you very much for your suggestions. The command you have suggested
> did not work for me (I suspect that @teams is not picking the variables as
> it should) ,i.e.
>
> system "parallel --eta -j+0 wget ftp://xxx.xx.xx/pub/${year}/{}${day}.txt
> ::: @teams";
>
> This is the error message :
>
> Computers / CPU cores / Max jobs to run
> 1:local / 4 / 3
>
> Computer:jobs running/jobs completed/%of started jobs/Average seconds to
> complete
> /bin/bash: $'\302\240wget': command not found
> /bin/bash: $'\302\240wget': command not found
> /bin/bash: $'\302\240wget': command not found
> ETA: 0s 0left 0.00avg local:0/3/100%/0.3s
This is caused by the spacing in front of wget. Your mail reader
probably converted the space to something that looks like space but
which is not, so type in the space manually.
> system "parallel --eta -j+0 wget
> ftp://xxx.xx.xx/pub/${year}/{}${day}.txt ::: @teams";
/Ole