Re: archive_command

From: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: archive_command
Date: 2005-10-06 03:29:35
Message-ID: Pine.LNX.4.63.0510052022270.14401@discord.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, 4 Oct 2005, Gaetano Mendola wrote:

Looks like we're doing just about the same thing, but you're using head and
I'm using tail. However, it seems that your method does not require grepping
out the special files, so that's awesome!

BTW you do not have to use the -1 flag when you put ls to a pipe.

-Jeff

> FILE=$( ls -t1p $PGXLOG | grep -v / | head -1 )

--
Jeff Frost, Owner <jeff(at)frostconsultingllc(dot)com>
Frost Consulting, LLC http://www.frostconsultingllc.com/
Phone: 650-780-7908 FAX: 650-649-1954

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2005-10-06 03:36:36 Re: create table like syntax
Previous Message David Durham 2005-10-06 03:04:10 create table like syntax