Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- # Just a little file download script for ordered\numbered files within a folder.
- # Made to help a mate downloading Manga.
- echo "this will only work for files in numbered order"
- echo "i.e. starting with 1.jpg."
- echo "Copy link address to folder containing images"
- echo "i.e. if http://blerp.bj/67346/43/1.jpg"
- echo "then paste http://blerp.bj/67346/43/"
- echo ""
- read -p "Enter URL to folder containing images: " Url
- read -p "Enter file format i.e .jpg .bmp: " File
- for x in {1..100000}
- do wget -O/dev/null -q $Url$x$File && wget $Url$x$File || exit
- done
Add Comment
Please, Sign In to add comment