> $ s3cmd ls --recursive s3://datasets.elasticmapreduce/ngrams/books/ |
>> awk '{print $4; sub(/s3:\/\/datasets.elasticmapreduce/, ".", $4}' |
>> parallel -j0 --sshloginfile hosts -N2 /usr/bin/s3cmd \
>> --no-progress get {1} {2}

Ouch! Seems I stopped at the wrong closing bracket. :-(

Here's the full awk-line:

print $4; sub(/s3:\/\/datasets.elasticmapreduce/, ".", $4); print $4

Thomas

Reply via email to