Reading values from plist nested dictionaries in shell script
defaults can't do this without a lot of mess, but PlistBuddy will:
/usr/libexec/PlistBuddy -c "print :Countries:USA:Capital" /Users/sameerp/Downloads/data.plist
defaults can't do this without a lot of mess, but PlistBuddy will:
/usr/libexec/PlistBuddy -c "print :Countries:USA:Capital" /Users/sameerp/Downloads/data.plist