install.fairie/home/dot_local/bin/executable_backup
Brian Zalewski 0bad4bde80 Latest
2023-11-30 07:39:08 +00:00

11 lines
311 B
Bash

#!/usr/bin/env bash
backupMacPrefs() {
if [ -d /Applications ] && [ -d /System ]; then
if command -v macprefs > /dev/null; then
macprefs backup -t system_preferences startup_items shared_file_lists preferences app_store_preferences internet_accounts
fi
fi
}
backupMacPrefs