Last active
August 31, 2020 11:58
-
-
Save Tahooralisyed/67fcac8af8cdce1b65ae2ec4e7040a10 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
#copy file to s3 bucket | |
aws --region ap-south-1 s3 cp zoomLinuxall.tar.gz s3://zoomlinuxnazer | |
#make zip file | |
tar cvf zoomLinuxall.tar.gz zoom/ | |
#create bucket | |
aws --region ap-south-1 s3 mb bucketname | |
#to copy derictory | |
aws --region ap-south-1 s3 cp --recursive zoom s3://zoomlinuxnazer |
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
#!/bin/bash | |
baseUrl="https://zoomgroup.com/training/india/free-ebooks/linux-lab-manual-view/content/pages/page" | |
suffix=".jpg" | |
for i in {155..197}; do | |
echo "Downloading page $i" | |
wget ${baseUrl}$i${suffix} | |
sleep 5s | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment