Re: [CentOS] an rsync question

2013-02-27 Thread m . roth
Stuart Barkley wrote: > On Wed, 27 Feb 2013 at 11:34 -, m.r...@5-cent.us wrote: > >> Is there any way to have rsync compare against a file with a *different* >> name? >> >> What I'd like to do is compare a vm - whatsit.img against a backup - >> whatsit.current, that's a symlink to whatsit.times

Re: [CentOS] an rsync question

2013-02-27 Thread Stuart Barkley
On Wed, 27 Feb 2013 at 11:34 -, m.r...@5-cent.us wrote: > Is there any way to have rsync compare against a file with a *different* > name? > > What I'd like to do is compare a vm - whatsit.img against a backup - > whatsit.current, that's a symlink to whatsit.timestamp, and if different, > *the

Re: [CentOS] an rsync question

2013-02-27 Thread Les Mikesell
On Wed, Feb 27, 2013 at 10:34 AM, wrote: > Is there any way to have rsync compare against a file with a *different* > name? > > What I'd like to do is compare a vm - whatsit.img against a backup - > whatsit.current, that's a symlink to whatsit.timestamp, and if different, > *then* make the copy (

Re: [CentOS] an rsync question

2013-02-27 Thread Frank Cox
On Wed, 27 Feb 2013 11:34:06 -0500 m.r...@5-cent.us wrote: > Is there any way to have rsync compare against a file with a *different* > name? I think that rsync might overwrite or get confused by your symlinks, regardless of the actual filenames. You might be better off using something like md5s

[CentOS] an rsync question

2013-02-27 Thread m . roth
Is there any way to have rsync compare against a file with a *different* name? What I'd like to do is compare a vm - whatsit.img against a backup - whatsit.current, that's a symlink to whatsit.timestamp, and if different, *then* make the copy (which my script will then move to whatsit.newtimestamp