Created
May 2, 2018 08:25
-
-
Save paleite/9f025e6148e3691c57dfc514e20d8734 to your computer and use it in GitHub Desktop.
Download files with range/seq and zero-padding
This file contains hidden or 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
for i in $(seq -f "%03g" 1 100) | |
do | |
wget http://example.com/assets/pics/myawesomestuff${i}.jpg | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment