Skip to content

Instantly share code, notes, and snippets.

@rochacbruno
Created August 7, 2019 18:41
Show Gist options
  • Select an option

  • Save rochacbruno/22708064874952de29a7d5bcd8c9bfc5 to your computer and use it in GitHub Desktop.

Select an option

Save rochacbruno/22708064874952de29a7d5bcd8c9bfc5 to your computer and use it in GitHub Desktop.
Download Multiple Sequential Images on Bash
# A web server having files named /file00001.jpg to /file00138.jpg
BASE_URL=https://xyzkonjdnfsdf.rackcdn.com/file00
for i in $(seq 001 138); do wget $BASE_URL$(printf "%.3d" "$i").jpg ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment