On 06/23/2011 03:40 PM, Lancashire, Pete wrote:
> pretty easy to put a wrapper around the script or add it ..
If it were local that would be easy. This is remote (via SSH), so I'd
have to login before I run rsync to verify that directory is that. I was
hoping I could save that step since rsync is
I'm using rsync to do an incremental backup of my desktop here, to a
remote server as follows:
#/usr/bin/bash
old=$(date -d 'now - 1 week' +%Y-%m-%d)
new=$(date +%Y-%m-%d)
rsync -avP --delete --link-dest=../$dir /home/bakers
bak...@perturb.org:/home/bakers/backup/$new/
This is actually working