[Assorted-commits] SF.net SVN: assorted:[1442] configs/trunk/src/cron/backup.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2009-06-01 21:12:02
|
Revision: 1442 http://assorted.svn.sourceforge.net/assorted/?rev=1442&view=rev Author: yangzhang Date: 2009-06-01 21:11:41 +0000 (Mon, 01 Jun 2009) Log Message: ----------- fixed duplicity args Modified Paths: -------------- configs/trunk/src/cron/backup.bash Modified: configs/trunk/src/cron/backup.bash =================================================================== --- configs/trunk/src/cron/backup.bash 2009-05-31 20:26:48 UTC (rev 1441) +++ configs/trunk/src/cron/backup.bash 2009-06-01 21:11:41 UTC (rev 1442) @@ -3,10 +3,12 @@ FORCE_BASHRC=1 . ~/.bashrc && . common.bash || exit 1 if [[ "$( date +%d )" == 01 ]] -then args=--full +then args=full else args= fi +args="$args -vINFO" + src=~/.gnome2/f-spot/photos.db dst=~/personal/backups/f-spot/photos.db if [ -f "$src" ] && ( ! [ -f "$dst" ] || ! diff -q "$src" "$dst" ) then mkdir -p "$( dirname "$dst" )" ; cp "$src" "$dst" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |