Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.22 KB

backup-app-settings.md

File metadata and controls

51 lines (31 loc) · 1.22 KB

How to backup (import/export) settings for an app

You can either use an app or the command-line.

App

The Supercharge app (paid) makes it easy to import/export settings for any apps.

Command-line

For the next steps, you will need to be familiar with the command-line.

Export

You first need to find the bundle identifier of the app. Replace AppName with the app's name and run the following command:

osascript -e 'id of app "AppName"'

Then run the following command with the correct bundle identifier and app name:

defaults export BUNDLE_IDENTIFIER APP_NAME.plist

Example:

defaults export com.sindresorhus.Velja Velja.plist

You now have a Velja.plist file with all the data and settings for this app. You can either store this file in a safe place as a backup or use it to import the settings into another computer.

Import

Make sure the app is not running.

Run the following command:

defaults import BUNDLE_IDENTIFIER APP_NAME.plist

Example:

defaults import com.sindresorhus.Velja Velja.plist

Then restart your computer to ensure the settings are correctly applied.