Backup on Mac
Backup shortcuts locally on Mac, batch restore with minimum interaction
Description
OS | Compatibility |
---|---|
macOS | Yes |
iOS 15 | No |
iOS 14 | No |
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:
Command Mode
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.
2022-02-07
• Added command mode for background backup
• Small bug fixes
Version history
Feedback
Log in or sign up to leave feedback.
· 4 months ago
· 3 months, 3 weeks ago