Note that this assumes you're saving the files into your local Google Drive folder. If you don't want that, change the WALLPAPERS_DIR
value. If you want to keep more or less than 365 pictures, change the DAYS_TO_RETAIN_WALLPAPERS
value.
- Install Node.js for macOS.
- Download the download-bing-wallpaper.js script.
echo '1,31 * * * * /usr/local/bin/node /path/to/download-bing-wallpaper.js' | crontab -
- In System Preferences, open the Desktop & Screen Saver pane. On the Desktop tab, click the plus button (+) and enter the path to your saved wallpapers.