Re: Two started cluster on the same data directory and port - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Two started cluster on the same data directory and port
Date
Msg-id 5ee128af-a936-418d-baf4-f7f06a362f26@aklaver.com
Whole thread Raw
In response to Re: Two started cluster on the same data directory and port  (Matthias Apitz <guru@unixarea.de>)
Responses Re: Two started cluster on the same data directory and port
List pgsql-general
On 11/30/23 20:43, Matthias Apitz wrote:
> El día jueves, noviembre 30, 2023 a las 02:10:25p. m. -0800, Adrian Klaver escribió:
> 
>> On 11/30/23 12:35, Adrian Klaver wrote:
>>> On 11/30/23 10:35, Adrian Klaver wrote:
>>>> On 11/30/23 09:27, Loles wrote:
>>>>
>>
>>> cd /etc/postgresql/14/
>>> sudo rm -r main_old/
>>>     or
>>> sudo cp -r main_old <some_new_path>
>>
>> Arrgh.
>>
>>      sudo mv -r main_old <some_new_path>
>>
>> Memo to self don't eat lunch and copy/paste at same time.
> 
> Hmmm
> 
> purism@pureos:~$ uname -s
> Linux
> purism@pureos:~$ mv -r foo bar
> mv: invalid option -- 'r'

The gift that keeps on giving. Third time's a charm?:

    sudo mv  main_old/ <some_new_path>

> Try 'mv --help' for more information.
> 
>     matthias

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Matthias Apitz
Date:
Subject: Re: Two started cluster on the same data directory and port
Next
From: Laurenz Albe
Date:
Subject: Re: Feature request for INITCAP() function