Last active
September 12, 2024 04:27
-
-
Save Aries0d0f/3f3de92e0738a72f556ced1512149925 to your computer and use it in GitHub Desktop.
Download all macOS Sonoma Aerial wallpaper
This file contains 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
#!/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:[^,]+\,::; =}'; |
This file contains 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
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:[^,]+\,::; =}'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Install all dependencies simply via
brew install jq parallel
.After
parallel
is installed runsudo parallel --citation
first to read the citation notice.FAQ
download.sh
andsingle-line-download.sh
are identical, the latter is for those who prefer a single-line version.