Skip to content

Instantly share code, notes, and snippets.

@smrfeld
Created December 16, 2021 19:36
Show Gist options
  • Select an option

  • Save smrfeld/803aa0684a3019bbd7cfe9d64a502c3a to your computer and use it in GitHub Desktop.

Select an option

Save smrfeld/803aa0684a3019bbd7cfe9d64a502c3a to your computer and use it in GitHub Desktop.
Copy plist
# Copy the plist file for safety
fname_plist = "tmp.plist"
command = "cp %s %s" % (args.fname_bookmarks, fname_plist)
print("Making temporary copy of reading list: %s" % command)
Popen(command, shell=True).wait()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment