top | item 21173479

(no title)

aliencat | 6 years ago

You can also acomplish this with shell:

export BUCKET=____; aws s3 ls "$BUCKET" | tail -n+2 | awk '{print $4}' | while read k; do aws s3 cp "s3://$BUCKET/$k" -; done

discuss

order

loige|6 years ago

I especially like the "done" (!) at end :) Thanks for this one-liner!