Skip to content

Instantly share code, notes, and snippets.

@nicholasdunbar
Last active August 29, 2015 14:18
Show Gist options
  • Save nicholasdunbar/d8b9a95749fd25f0205e to your computer and use it in GitHub Desktop.
Save nicholasdunbar/d8b9a95749fd25f0205e to your computer and use it in GitHub Desktop.
Example of JSON output from awsUtil.php list-timestamps example-of-a-backup-bucket-name "*.log" The script can be found here https://gist.github.com/nicholasdunbar/0f9bc264fe8eaa95cd7f
{"backup.log": {
"1427577934": {
"full-date": "2015-03-28T21:25:34.000Z",
"unix-timestamp": 1427577934,
"version-type": "VERSIONS",
"version-id": "Q7fGH4csueuuYZTd7UnosKCrwZZunfYg"
},
"1427577797": {
"full-date": "2015-03-28T21:23:17.000Z",
"unix-timestamp": 1427577797,
"version-type": "VERSIONS",
"version-id": "0EHqEYAubEXtO4KqU7A316S65tWRN.xT"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment