Skip to content

Instantly share code, notes, and snippets.

@Aries0d0f
Last active September 12, 2024 04:27
Show Gist options
  • Save Aries0d0f/3f3de92e0738a72f556ced1512149925 to your computer and use it in GitHub Desktop.
Save Aries0d0f/3f3de92e0738a72f556ced1512149925 to your computer and use it in GitHub Desktop.
Download all macOS Sonoma Aerial wallpaper
#!/bin/zsh
# This script helps those who want to
# get all Aerial wallpapers on macOS Sonoma
# all at once instead of clicking on settings one by one.
# Dependencies: jq, parallel
# Install all dependencies via `brew install jq parallel`
# After `parallel` installed run `sudo parallel --citation` first to read citation notice (IMPORTANT)
# The follwing script SHOULD be run under root user (IMPORTANT)
cd "/Library/Application Support/com.apple.idleassetsd/Customer" && \
cat entries.json | \
jq -r '.assets[] | (.id + "," + .["url-4K-SDR-240FPS"])' | \
parallel \
wget \
--no-check-certificate -q \
-O './4KSDR240FPS/{= s:\,[^,]+$::; =}.mov' \
'{= s:[^,]+\,::; =}';
cd "/Library/Application Support/com.apple.idleassetsd/Customer" && cat entries.json | jq -r '.assets[] | (.id + "," + .["url-4K-SDR-240FPS"])' | parallel wget --no-check-certificate -q -O './4KSDR240FPS/{= s:\,[^,]+$::; =}.mov' '{= s:[^,]+\,::; =}';
@Aries0d0f
Copy link
Author

Aries0d0f commented Aug 29, 2023

Download all macOS Sonoma Aerial wallpaper

This script helps those who want to get all Aerial wallpapers on macOS Sonoma all at once instead of clicking on settings one by one.

Usage

Just download the script and execute it in your terminal (download.sh).
Copy and paste also work (for those who prefer a single-line version: single-line-download.sh.

Notice that the script SHOULD be run under root user.

Dependencies

  • jq
  • parallel

Install all dependencies simply via brew install jq parallel.
After parallel is installed run sudo parallel --citation first to read the citation notice.

FAQ

download.sh and single-line-download.sh are identical, the latter is for those who prefer a single-line version.

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