Backup on Mac
Backup shortcuts locally on Mac, batch restore with minimum interaction
Use this shortcut to backup all or some shortcuts in a folder on your Mac, or batch restore them with minimum user interaction.
- Backups are stored locally in Documents → Backup on Mac folder.
- Restore can be automated; no need to click ‘Add Shortcut’ (and then ‘Replace’ or ‘Keep Both’) for every shortcut. This is why the shortcut is Mac only.
- Auto restore will bypass import questions, if any.
- Shortcuts are restored in ‘All Shortcuts’ folder, in the same order as they were backed up.
Please make sure to turn on Shortcuts → Preferences → Advanced → Allow Running Scripts:
When you auto restore for the first time, you will get the ‘assistive access’ error:
Click ‘OK’, go to System Preferences → Security & Privacy → Privacy → Accessibility, unlock the padlock at the bottom of the window, and turn on ‘siriactionsd’ from the list:
You can initiate backup from Terminal. For example, to backup a folder called My Projects, use the following command:
echo "b My Projects" | shortcuts run "Backup on Mac" -i -
To backup all shortcuts, use:
echo "b" | shortcuts run "Backup on Mac" -i -
In command mode, the shortcut will not check for an update and all alerts will be suppressed, useful for automatic/periodic backup.
Latest Release Notes
1.1 - Feb. 7, 2022, 11:41 a.m.
• Added command mode for background backup
• Small bug fixes
· 8 months, 1 week ago
· 8 months ago