aboutsummaryrefslogtreecommitdiffstats
path: root/bin/backup-profiles
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-11-03 12:30:45 +0100
committerDavid Runge <david.runge@frqrec.com>2013-11-03 12:30:45 +0100
commit67b0ec5741d327d27afe88783d85fcf2c4c4f204 (patch)
tree4ea47807c5e775927b96eb79933c09fbfcd0468e /bin/backup-profiles
downloaddotfiles-67b0ec5741d327d27afe88783d85fcf2c4c4f204.tar.gz
dotfiles-67b0ec5741d327d27afe88783d85fcf2c4c4f204.tar.bz2
dotfiles-67b0ec5741d327d27afe88783d85fcf2c4c4f204.tar.xz
dotfiles-67b0ec5741d327d27afe88783d85fcf2c4c4f204.zip
First commit
Diffstat (limited to 'bin/backup-profiles')
-rw-r--r--bin/backup-profiles10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/backup-profiles b/bin/backup-profiles
new file mode 100644
index 0000000..2f87701
--- /dev/null
+++ b/bin/backup-profiles
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd /tmp
+tar cvfz firefox.tgz $1/.mozilla/firefox/david.runge-backup
+gpg -e -r 'David Runge <david.runge@frqrec.com>' firefox.tgz
+mv -f firefox.tgz.gpg $1/Dropbox/sync
+
+tar cvfz thunderbird.tgz $1/.thunderbird/david.runge
+gpg -e -r 'David Runge <david.runge@frqrec.com>' thunderbird.tgz
+mv -f thunderbird.tgz.gpg $1/Dropbox/sync