From: "César Soler" <csoler@euskalnet.net>
To: linux-admin@vger.kernel.org
Subject: test the file date
Date: Tue, 10 Jun 2003 11:50:10 +0200 [thread overview]
Message-ID: <15497219844.20030610115010@euskalnet.net> (raw)
Hi,
I would like to process a pair of files if they were modified in the
previous day. I have tried with "find", but the problem is that I only
need two files:
$PATH/file
$PATH/backup/file
$PATH/export/file
if I find from "$PATH" all files, with name "file" and "-mtime -1", at
least three files appear, but I only need two of them.
Is there any shell tool to check the date? something likes "test" or
"file", that is able to check the modified time....
any clue is welcome!
Thks in advance
--
Best regards,
César mailto:csoler@euskalnet.net
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2003-06-10 9:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-10 9:50 César Soler [this message]
2003-06-10 9:49 ` test the file date Joakim Ryden
2003-06-10 10:10 ` Re[2]: " César Soler
2003-06-10 15:23 ` Glynn Clements
2003-06-10 21:03 ` Stephen Samuel
2003-06-10 21:11 ` Mr. James W. Laferriere
2003-06-10 23:03 ` Stephen Samuel
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=15497219844.20030610115010@euskalnet.net \
--to=csoler@euskalnet.net \
--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).