pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A.Burbello <burbello3000@yahoo.com.br>
To: Postgres Adm List <pgsql-admin@postgresql.org>
Subject: off-topic - list files on linux
Date: Fri, 28 Mar 2008 09:39:53 -0300 (ART)
Message-ID: <871103.54592.qm@web36203.mail.mud.yahoo.com> (raw)

Hi people,

just a rapid question related to linux
How can I get the files in a directory, but not the
last file updated/created?

I could get the last file updated with:
ls -t1p  | grep -v / | grep -v backup | head -1

How can I get the inverse list, other files without
the last??

Thank you in advance.


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/




view thread (6+ messages)  latest in thread

Message-ID: <871103.54592.qm@web36203.mail.mud.yahoo.com>
Permalink:  ../871103.54592.qm@web36203.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/871103.54592.qm@web36203.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: burbello3000@yahoo.com.br
  Subject: Re: off-topic - list files on linux
  In-Reply-To: <871103.54592.qm@web36203.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox