In preparation for declaring my picks from the 2007 SXSW Showcasing Artist tracks, I’ve put together an Applescript that pulls the track names, artists, ratings, and comments from an iTunes playlist and sends them to MarsEdit for blog posting.
The script even makes a half-hearted attempt to guess the artist’s website and direct mp3 link.
So, I cooked up a little script (11 lines) to post directly to this blog from Quicksilver. If you’ve got a WordPress blog, or blog that understands the MetaWeblogAPI (though, I’ve only tested it on WP).
Last time I checked, Flickr’s ‘blog this’ was XML-RPC. Copy-and-Paste and XML-RPC are two different things. C-and-P exists because video needs at least one ‘embed’ tag and well, that’s hard. Add to that, XML-RPC needs an end-point url and a password, that’s a level of complexity above – ‘here take this code’. They serve two different functions – though the final product looks similar.
This morning marks the completion of the first full backup I’ve done in quite a while. But not the last. For the past 3 months, I’ve been working on an automated backup system – so I no longer need to wonder if things are backed up. They are. In at least two places.
A little background:
I only have Macs in my house. One of them…the Mini, acts as a server
I’ve got a StrongSpace account. Not that this makes much of a difference, any accessible volume could work the same (I’m intrigued how S3 might work into the mix as well).
The backup system is tiered;
Every couple of days, the “client” Macs, the ones that get used everyday, backup to the Mini with rsync -aE --exclude='.*' /usr/bin/ssh /[path to source folder (see below)]/ [username]@[url of local server]:/[path to your backup directory]/
I’ve got these all wrapped up in a single backup.sh file, with a line for:
Then, the Mini backs up the client folders to StrongSpace. rsync -rltvz --exclude='.*' /usr/bin/ssh /[path to client backup folder]/ [username]@[url of online server]:/[path to your online backup directory]/
I’m using SSH Keys (the /usr/bin/ssh in the strings above) to automate the login (see MagpieBrain for instructions on setting this up).
On all the machines, the backup.sh file is wrapped in an Applescript do shell script "/Users/garrickvanburen/Documents/Projects/RSYNC/garrick_backup.sh"
The Applescript is called from an alarm in iCal, like this