From 59f8d0b60b40a88d650b7dcf7654a38e81ef2879 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 30 Dec 2007 15:25:38 +0100 Subject: generic sync script --- sync_fspot.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 sync_fspot.sh diff --git a/sync_fspot.sh b/sync_fspot.sh new file mode 100755 index 0000000..3dfaea9 --- /dev/null +++ b/sync_fspot.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +RSYNC="/usr/bin/rsync" + +F_SPOT_DB="$HOME/.gnome2/f-spot/photos.db" +F_SPOT_PHOTOS="$HOME/Photos" + +DEST="server:/var/www/phpfspot" + +rsync -vr --progress --delete -e ssh ${F_SPOT_DB} ${DEST} +rsync -vr --progress --delete -e ssh ${F_SPOT_PHOTOS} ${DEST} -- cgit v1.2.3-18-g5258