Re: [Hampshire] rsync 101

Top Page

Reply to this message
Author: Jon Wilks
Date:  
To: lug, Hampshire LUG Discussion List
Subject: Re: [Hampshire] rsync 101
If ever you get temped to use --delete as an arg to rsync, always always
always test it first with the -nv argument. No matter how confident you
are with the outcome.

Jonny.
On Jun 1, 2012 6:18 PM, "Vic" <lug@???> wrote:

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

>
> You're looking to add one of the --delete options to rsync. I've no idea
> how to do that in grsync - I don't use it.
>
> The exact incantation to use depends on when you want the deletion to
> occur - have a look at the man page for more detail.
>
> Vic.
>
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
>

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------