Skip to content

Instantly share code, notes, and snippets.

@Tahooralisyed
Last active August 31, 2020 11:58
Show Gist options
  • Save Tahooralisyed/67fcac8af8cdce1b65ae2ec4e7040a10 to your computer and use it in GitHub Desktop.
Save Tahooralisyed/67fcac8af8cdce1b65ae2ec4e7040a10 to your computer and use it in GitHub Desktop.
#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
#!/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