Skip to content

Instantly share code, notes, and snippets.

@uurtech
Created May 17, 2020 11:47
Show Gist options
  • Save uurtech/861f6d373ca06eeb287b522f33838a42 to your computer and use it in GitHub Desktop.
Save uurtech/861f6d373ca06eeb287b522f33838a42 to your computer and use it in GitHub Desktop.
Bash + Curl download files for number of range
set -B # enable brace expansion
for i in {1..38}; do
curl "https://www.dr.com.tr/sitemaps/product/product_${i}.xml" -o "product_${i}.xml"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment