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 ?
RegardsYacob