issue121, add some js-checks if objects are there
[phpfspot.git] / sync_fspot.sh
1 #!/bin/bash
2
3 RSYNC="/usr/bin/rsync"
4
5 F_SPOT_DB="$HOME/.gnome2/f-spot/photos.db"
6 F_SPOT_PHOTOS="$HOME/Photos"
7
8 DEST="server:/var/www/phpfspot"
9
10 rsync -vr --progress --delete -e ssh ${F_SPOT_DB} ${DEST}
11 rsync -vr --progress --delete -e ssh ${F_SPOT_PHOTOS} ${DEST}