Skip to content

Instantly share code, notes, and snippets.

@Daij-Djan
Created January 22, 2020 03:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Daij-Djan/accadb719eee6ca57fe1ad53cf655fed to your computer and use it in GitHub Desktop.
this snippet sort plists keys so i can better diff them
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