parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why this should not work ?


From: yacob sen
Subject: Why this should not work ?
Date: Mon, 18 Feb 2013 15:03:23 -0800 (PST)


Hi ALL,

I have the following command:

for i in `seq -w 2010 2010`

   do
   mkdir $i
   cd $i

     file=test.$i
      dirr=test

  parallel -j+0 'mkdir {}; cd ${}  wget ${prot}://${ftp_site}/$file/{}/${dirr}/*.zip ; cd ../'  ::: $(seq -w 01 365)

done

Basically what I want is , first create a directory 001 and cd to 001 and then apply wget command to bring those files that should belong to day 001 only. Again  create a directory for 002 and cd to 002 and wget from an ftp server only those files that belong to day 002 and so on.

Why the above parallel command is not working ?

Regards
Yacob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]