Skip to content

Instantly share code, notes, and snippets.

@npenin
Created June 18, 2020 03:52
Show Gist options
  • Save npenin/803cbe05c8e16d46dfc4682a46289f21 to your computer and use it in GitHub Desktop.
Save npenin/803cbe05c8e16d46dfc4682a46289f21 to your computer and use it in GitHub Desktop.
bing wallpaper download
wget -O - "http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US" 2>/dev/null | jq .images[0].url -r | sed -n -e "s/^/http:\/\/www.bing.com/p" | xargs wget -O bing.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment