Created
January 22, 2020 03:37
-
-
Save Daij-Djan/accadb719eee6ca57fe1ad53cf655fed to your computer and use it in GitHub Desktop.
this snippet sort plists keys so i can better diff them
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 characters
import plistlib | |
import sys | |
with open(sys.argv[1],"rb") as input: | |
plist = plistlib.load(input) | |
with open(sys.argv[2],"wb") as output: | |
plistlib.dump(plist, output) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment