Re: [SUGGESTION] CVSync

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: [SUGGESTION] CVSync
Дата
Msg-id 4424D8A4.7080207@commandprompt.com
обсуждение исходный текст
Ответ на Re: [SUGGESTION] CVSync  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [SUGGESTION] CVSync  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> "Joshua D. Drake" <jd@commandprompt.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/




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SUGGESTION] CVSync
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: [SUGGESTION] CVSync