Created
July 28, 2015 00:06
-
-
Save joshbuchea/0cc7c630d30a730b70e2 to your computer and use it in GitHub Desktop.
A shell script for Automator that can convert .plist to .json file.
This file contains 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
for f in "$@" | |
do | |
filename="${f%.*}" | |
plutil -convert json "$filename".plist -o "$filename".json | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage
Run Shell Script
.Now, just choose a
.json
file in Finder, and pop up the context menu, chooseConvert to json
(or other name you had just gave), then there would be a.plist
file.