Created
July 7, 2015 22:06
-
-
Save gsf/510dd861f144b3aa28ac 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
while read url; do | |
bn="`basename $url`" | |
echo Uploading $bn ... | |
curl "$url" > tmp.pdf | |
aws s3 cp tmp.pdf "s3://phila-business/$bn" | |
done < ec2-PDFs.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First created that txt file with: