Skip to content

Instantly share code, notes, and snippets.

@magicsih
Created March 17, 2022 04:08
Show Gist options
  • Save magicsih/bf3fe80cca2ad2ac73b8da0ac3df4ded to your computer and use it in GitHub Desktop.
Save magicsih/bf3fe80cca2ad2ac73b8da0ac3df4ded to your computer and use it in GitHub Desktop.
Download some sequential named images from web in bash script.
#!/bin/bash
set -B
for i in {1..1000}; do
curl $path/$i.png > $i.png # replcae $path with yours
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment