linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* test the file date
@ 2003-06-10  9:50 César Soler
  2003-06-10  9:49 ` Joakim Ryden
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: César Soler @ 2003-06-10  9:50 UTC (permalink / raw)
  To: linux-admin

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-06-10 23:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-10  9:50 test the file date César Soler
2003-06-10  9:49 ` 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

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).