Last active
April 26, 2026 13:37
-
-
Save liddiard/20bf626a9e834b8b3962cb27b3551633 to your computer and use it in GitHub Desktop.
Revisions
-
liddiard revised this gist
Apr 26, 2026 . No changes.There are no files selected for viewing
-
liddiard revised this gist
Apr 26, 2026 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Run in the directory containing your plist files from the export.sh script. # Lists the exported plist files, removes the ".plist" extension, and imports # each into system/app settings. ls *.plist | sed 's/\.plist$//' | xargs -I '{}' defaults import '{}' '{}'.plist -
liddiard revised this gist
Apr 26, 2026 . 2 changed files with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ # Run in a dedicated directory. Lists all settings plist files, converts the # list to newline-separated, and writes each to a plist file. defaults domains | tr ',' '\n' | xargs -I '{}' defaults export '{}' '{}'.plist This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ # Run in the directory containing your plist files from the export.sh script. # Lists the exported plist files, removes the ".plist" extension, and imports # each into system/app settings. ls | 'sed s/\.plist$//' | xargs -I '{}' defaults import '{}' '{}'.plist -
liddiard revised this gist
Apr 26, 2026 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ # Run in a dedicated directory. 1-liner to list all settings plist files, # convert the list to newline-separated, and write each to a plist file. defaults domains | tr ',' '\n' | xargs -I '{}' defaults export '{}' '{}'.plist -
liddiard created this gist
Apr 26, 2026 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ # Run in a dedicated directory. 1-liner to list all settings plist files, # convert the list to newline-separated, and write each to a plist file. defaults domains | tr ',' '\n' | xargs -I '{}' defaults export '{}' '{}'.plist