Created
November 16, 2012 12:14
-
-
Save timmow/4086836 to your computer and use it in GitHub Desktop.
Get a list of dates on a google calendar
This file contains hidden or 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
| # download your private calendar url as xml | |
| wget http://url/to/calendar | |
| grep -o 'When:.*12' basic | uniq | perl -ple 's/When://' | ruby -e 'require "date"; puts STDIN.readlines.sort_by!{|x| Date.parse x}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment