Re: delete not working with multiple source directories

2014-08-17 Thread Robert DuToit
HI kevin, No luck with —relative. I’ll try and see where in the code —delete gets bypassed. Rob On Aug 16, 2014, at 9:27 PM, Kevin Korb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Does --relative fix it? You almost always want --relative with > multiple sources. > > On

Re: delete not working with multiple source directories

2014-08-16 Thread Robert DuToit
Kevin, I don’t usually use -R unless users choose it -wanting the full directory structure on destination. In this case of course - it doesn’t matter as the three are all at root level. Worth a shot. Will let you know. Thanks, Rob On Aug 16, 2014, at 9:27 PM, Kevin Korb wrote: > -BEGIN

Re: delete not working with multiple source directories

2014-08-16 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does --relative fix it? You almost always want --relative with multiple sources. On 08/16/2014 09:10 PM, Robert DuToit wrote: > Hello All, > > I have lately heard from a couple of people that delete option was > not deleting extraneous files on des

Re: --delete not working

2012-03-12 Thread John Van Essen
Aren't you missing something in your rsync command? (Hint: subject line) John On Mar 12, 2012, at 14:00, Salatiel Filho wrote: > Hi guys , i need some help. I am trying to make a full sync of two of > my servers. But i noticed a very odd thing. > If i create a directory , for example > /u

Re: --delete not working

2012-03-12 Thread Salatiel Filho
Thanks a lot kevin. []'s Salatiel On Mon, Mar 12, 2012 at 16:18, Kevin Korb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > This should be all you need (plus the other paths of course): > - --exclude=/proc > > You may also be interested in --one-file-system. > > On 03/12/12 15:16,

Re: --delete not working

2012-03-12 Thread Salatiel Filho
sorry , i was not forgetting that. Just forgot to type when mailing :) []'s Salatiel On Mon, Mar 12, 2012 at 16:16, John Van Essen wrote: > Aren't you missing something in your rsync command?  (Hint: subject line) > >    John > > > On Mar 12, 2012, at 14:00, Salatiel Filho wrote: > >> Hi guys

Re: --delete not working

2012-03-12 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This should be all you need (plus the other paths of course): - --exclude=/proc You may also be interested in --one-file-system. On 03/12/12 15:16, Salatiel Filho wrote: > Actually that is the problem. SOME_FOLDER is /usr/include/sys which > is being

Re: --delete not working

2012-03-12 Thread Salatiel Filho
Actually that is the problem. SOME_FOLDER is /usr/include/sys which is being ignore because of the sys/* exclude. Now i have another problem , how can i exclude the /sys , /proc and /dev for being synced? if i put rsync -avzhH --delete --exclude /proc/* --exclude /dev/* --exclude /sys/* / root

Re: --delete not working

2012-03-12 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does the "SOME_FOLDER" match any of your excludes? You didn't root the excludes with a leading / so you are excluding any directory named proc sys or dev anywhere in the tree. On 03/12/12 15:05, Salatiel Filho wrote: > i rerun removing the -v and i g

Re: --delete not working

2012-03-12 Thread Salatiel Filho
i rerun removing the -v and i get no errors at all. Actually no transfer at all because rsync thinks there are no more differences between the servers. []'s Salatiel On Mon, Mar 12, 2012 at 16:02, Kevin Korb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Are there any errors?  Rs

Re: --delete not working

2012-03-12 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are there any errors? Rsync will abort the deletions if there are any errors. Run without the -v to get only the errors in the output. On 03/12/12 15:00, Salatiel Filho wrote: > Hi guys , i need some help. I am trying to make a full sync of two > of

Re: --delete not working (minimal example)

2009-07-14 Thread Nobuko Three
My God How did I miss that? Also, it turned out my original problem was that I passed -delete instead of --delete. I played too much with mencoder recently which uses single - for both short and long options. Paul Slootman-5 wrote: > > On Tue 14 Jul 2009, Nobuko Three wrote: > >> --delete op

Re: --delete not working (minimal example)

2009-07-14 Thread Paul Slootman
On Tue 14 Jul 2009, Nobuko Three wrote: > --delete option is not working for me. The following is a minimal example. > > $ mkdir box1 box2 > $ touch box1/letter box2/extra > $ rsync -a -vv box1/ box2/ > > $ rsync -a -vvv box1/ box2/ > $ rsync -a - box1/ box2/ How do you ex

Re: --delete not working - due to 200+G of files?

2007-12-04 Thread Fabian Cenedese
At 12:54 04.12.2007 -0800, Wayne Davison wrote: >On Thu, Nov 22, 2007 at 04:01:29PM -0500, Eric Praetzel wrote: >> ssh Solaris_box "cd /home;rsync -az --force --delete * >> Centos_Box::remote_mach" >> ssh Solaris_box "rsync -az --force --delete /home Centos_Box::remote_mach" > >Those are two very

Re: --delete not working - due to 200+G of files?

2007-12-04 Thread Wayne Davison
On Thu, Nov 22, 2007 at 04:01:29PM -0500, Eric Praetzel wrote: > ssh Solaris_box "cd /home;rsync -az --force --delete * > Centos_Box::remote_mach" > ssh Solaris_box "rsync -az --force --delete /home Centos_Box::remote_mach" Those are two very different things -- the first copies items from inside

Re: --delete not working, fixed!

2007-10-01 Thread Matt McCutchen
On 9/25/07, Sylvain Viart <[EMAIL PROTECTED]> wrote: > As I said, Protect and Hide, are not "really" documented. It's only said in > the doc : > > hide, H specifies a pattern for hiding files from the transfer. You're right that that line is not enough to thoroughly explain hide filters. However

Re: --delete not working, fixed!

2007-09-25 Thread Sylvain Viart
Hi Matt, In fact, reading bug 3825, has explained me the meaning of Hide and Protect filter rule. Which I couldn't really understand from the doc. As I said, Protect and Hide, are not "really" documented. It's only said in the doc : *hide, H* specifies a pattern for hiding files from the tr

Re: --delete not working

2007-09-25 Thread Matt McCutchen
On 9/25/07, Sylvain Viart <[EMAIL PROTECTED]> wrote: > Exactly what I've also found. See my post : Re: --delete not working => > +filtering disable delete! Indeed; I responded to your first post without noticing that you had posted again. I try to avoid doing that,

Re: --delete not working

2007-09-25 Thread Sylvain Viart
t when I run the command without --dry-run, nothing is deleted? I bet the discrepancy has to do with your exclude filter. The --exclude=.svn tells the receiver never to delete a file named .svn, [...] Exactly what I've also found. See my post : Re: --delete not working => +filterin

Re: --delete not working

2007-09-24 Thread Matt McCutchen
On 9/24/07, Sylvain Viart <[EMAIL PROTECTED]> wrote: > from the source host I do : > > rsync -rtlv --exclude='.svn/**' --exclude=.svn --delete preprod/ > rsync://remote-host/deploiement/preprod/ > > the --dry-run gives me some file to delete. > > but when I run the command without --dry-run, nothi

Re: --delete not working => +filtering disable delete!

2007-09-24 Thread Sylvain Viart
Hi, Sylvain Viart a écrit : rsync -rtlv --exclude='.svn/**' --exclude=.svn --delete preprod/ rsync://remote-host/deploiement/preprod/ the --dry-run gives me some file to delete. but when I run the command without --dry-run, nothing is deleted? I think I've it. The remote folder in the de

Re: --delete not working when files are pushed to rsync daemon

2003-08-20 Thread Wayne Davison
On Wed, Aug 20, 2003 at 07:03:34AM -0500, [EMAIL PROTECTED] wrote: > build# rsync -a -vvv -n --delete --exclude-from rsync.excludes /platform/ > individual.server::platform I assume that the files that are not being deleted are excluded by the --exclude-from rules -- all files (on both sides) tha

Re: --delete not working with many files?

2001-05-22 Thread Dave Dykstra
On Mon, May 21, 2001 at 01:08:21PM +0200, Lasse Andersson wrote: > > > Hi, > > If I use rsync of a smaller set of files the "--delete" option delete > files on the recieving side. > > But I can not get this to work on big set of files (In this case I try to > rsync a whole machine "/"). > > V