summaryrefslogtreecommitdiffstats
path: root/sync_fspot.sh
blob: 3dfaea9b5df8568470ce6f59775deac9087dedbd (plain)
1
2
3
4
5
6
7
8
9
10
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}