Re: [Hampshire] rsync 101

Top Page
Author: Andy Smith
Date:  
To: hampshire
Subject: Re: [Hampshire] rsync 101

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x5771c100.hantslug.org.uk.23495': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Fri Jun 1 18:17:00 2012 BST
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
Hi Rob,

On Fri, Jun 01, 2012 at 06:04:16PM +0100, Rob Malpass wrote:
> Running grsync in the usual way means I > end up with
>
> /foo/bar/1987/fred       (which is correct)

>
> but I also end up with
>
> /foo/bar/fred                 (which is now a duplicate - and can be
> deleted)

>
>
>
> What I want grsync to do is ensure B is a direct copy of A.


rsync will not delete things on the destination unless you allow it
to by specifying --delete. I assume there's some way to specify
rsync options with grsync, but I'm afraid I've never used it.

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting

"The electric guitar - like making love - is much improved by a little
feedback, completely ruined by too much." -- The League Against Tedium
--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------