Re: [SUGGESTION] CVSync

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Neil Conway <neilc(at)samurai(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, Joel Miller <joelwmiller(at)sbcglobal(dot)net>, PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [SUGGESTION] CVSync
Date: 2006-03-25 05:44:04
Message-ID: 4424D8A4.7080207@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> "Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
>> Marc G. Fournier wrote:
>>> /usr/local/bin/rsync -avzCH --delete anoncvs.postgresql.org::pgsql-cvs .
>
>>> its actually a "." ... what would a ',' do? :)
>
>> egad... heh... it would create a directory called "," ;) So you probably
>> don't want either.
>
> Um, I'm with Marc: where's the "," exactly? Not that I'm an rsync guru,
> but if there's a mistake here I do want to learn from it.
>
>

Just to be clear. The comma was a mistype. I was stating that you do not
want to use a period. If you use a period and you are not in the correct
directory, rsync will remove everything within your working directory.
It is always better to be explicit with an application that will
willingly remove your entire directory structure.

I know this, because I accidently did it once when manually pulling the
archives. I had to restore www.commandprompt.com from backup ;)

Sincerely,

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Miller 2006-03-25 05:46:59 Re: [SUGGESTION] CVSync
Previous Message Tom Lane 2006-03-25 05:40:54 Re: [SUGGESTION] CVSync