Skip to content

Instantly share code, notes, and snippets.

@mcpcpc
Last active June 21, 2020 14:13
Show Gist options
  • Save mcpcpc/8cf280a652dcaa76672950df3a1264b5 to your computer and use it in GitHub Desktop.
Save mcpcpc/8cf280a652dcaa76672950df3a1264b5 to your computer and use it in GitHub Desktop.
Wallpaper Downloader
#!/bin/sh
#
# POSIX sh wallpaper downloader
main() {
xargs -i wget -qc '{}' < "$1"
}
main "$1"
@mcpcpc
Copy link
Author

mcpcpc commented Jun 18, 2020

Usage

wd <url_file>: where <url_file> is plain text file containing the source URLs for your wallpaper image files (one per line).

Example

The following is an example <url_file> file list:

https://all4desktop.com/data_images/original/4244568-sea.jpg
https://issa-schools.org/wp-content/uploads/2017/11/vshrp-wallpapers-55585110-1920x1080.jpg
https://blog.nationalgeographic.org/wp-content/uploads/2016/09/draken-Greenland-1920x1080-1024x576.jpg
https://www.wallpaperflare.com/static/815/816/35/minimalism-clouds-sailing-ship-water-wallpaper.jpg
https://images.alphacoders.com/593/593699.jpg
https://www.beach-backgrounds.com/wallpapers/white-sailboat-on-blue-ocean-beach-background-1920x1080-205.jpg
https://data.1freewallpapers.com/download/sailboat-sea-mountains-fog-waves-1920x1080.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment