I'm trying to read a .plist file on the server and pull specific info. Have gotten it this far, but not sure where it's wrong. Nothing is being output to console.
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- <plist version="1.0">
- <array>
- <dict>
- <key>backupset</key>
- <string>MySetName</string>
- ...
- <key>lastBackup</key>
- <date>2014-04-15T15:39:21Z</date>
- </dict>
- ... more dictionaries containing other backupsets
- </array>
There may be multiple backupsets, and I want to pull the name of the backupset & the date from minhourdate for each backup set.