Created
December 11, 2019 10:32
-
-
Save d-baranowski/41fa5d7f739158706b411dcf262b9a8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws dynamodb scan --table-name PredictorPoc > sample.json | |
cat sample.json | jq -cr ".Items" > sample2.json | |
./split-array.sh sample2.json | |
for i in $(ls -t /tmp/item.*); do bash -c "aws dynamodb put-item --table-name PredictorDanPlayground --item file://$i"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment