linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mat Harris <mat.harris@genestate.com>
To: linux-admin@vger.kernel.org
Subject: oldest file
Date: Thu, 6 Feb 2003 10:01:16 +0000	[thread overview]
Message-ID: <20030206100116.GA11904@genestate.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

i am sure this has been asked before, but I can't find trace of it in any
archives.

I need to find the oldest directory inside multiply subdirectories. Perhaps
I should explain...

I have /home/cams/
inside that dir is four other dirs: cam1 cam2 cam3 cam4
inside each of those is a directory structure like: year/day-date/

i want to run a script that searches for the oldest day in each cam
directory.

What is the best way to do this.

btw, the oldest days are rm -rf'd when found.

-- 
Mat Harris			OpenGPG Public Key ID: C37D57D9
mat.harris@genestate.com	www.genestate.com	

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

             reply	other threads:[~2003-02-06 10:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-06 10:01 Mat Harris [this message]
2003-02-06 16:37 ` oldest file Scott Taylor
2003-02-06 16:42   ` Mat Harris
2003-02-06 16:55     ` Scott Taylor
2003-02-06 17:16       ` Mat Harris
  -- strict thread matches above, loose matches on Subject: below --
2003-02-06 17:39 Scott Taylor
2003-02-06 21:46 ` Mat Harris

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030206100116.GA11904@genestate.com \
    --to=mat.harris@genestate.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).