PocketPrefs is a configuration management tool for macOS applications. It enables users to easily back up, restore, and manage application configurations and data, simplifying setup when migrating to a new device or reinstalling macOS.
💡 Besides app settings, you can back up any file via custom paths.
- Backup and restore macOS application configurations and specified data
- Add and manage custom application configuration paths
- Import and export custom application configuration lists
- Incremental backup mode support
Here's my custom configs JSON (importable): discussion
PocketPrefs uses the following strategy to protect existing configurations when restoring files:
- Data integrity: Before restoring configuration files, PocketPrefs first renames any existing configuration in the target directory to
[original_name].pocketprefs_backupto preserve the original state.
When performing a restore operation, PocketPrefs intelligently handles existing files or directories at the target path:
-
Existing configuration backup: If a file or directory with the same name already exists at the target path (for example,
~/Library/Application Support/Code/User/settings.jsonor~/Library/Application Support/Code/User/), PocketPrefs renames it to[original_name].pocketprefs_backup.- Example:
settings.jsonbecomessettings.json.pocketprefs_backup. - Example:
User/directory becomesUser.pocketprefs_backup/.
- Example:
-
New configuration restoration: The file or directory from the backup is then restored to the original target path.
Important Note:
.pocketprefs_backupfiles or directories only preserve the configuration state from the most recent restore operation. Each new restore operation will overwrite this backup.
- macOS 14+
- Xcode 16+
- Swift 6



