Skip to content

Instantly share code, notes, and snippets.

@jldupont
Created October 1, 2010 12:16
Show Gist options
  • Save jldupont/606119 to your computer and use it in GitHub Desktop.
Save jldupont/606119 to your computer and use it in GitHub Desktop.
Backup rhythmbox db to Google Docs
#!/bin/bash
#
# Backup my rhythmbox database over to Google Docs
#
DATE=`date +%d%m%g`
zip /tmp/rb${DATE} ~/.local/share/rhythmbox/rhythmdb.xml
/usr/local/bin/google docs upload --folder=_backup --title=rb${DATE}.zip /tmp/rb${DATE}.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment