[HPADM] find command help on previous day's (yesterday's) file
From: Balaji Nathan (balajinathan2003_at_yahoo.com)
Date: 07/28/04
- Previous message: Thomas Northup: "[HPADM] Scripting question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jul 2004 07:47:24 -0700 (PDT) To: hpux-admin@DutchWorks.nl
Hi admins,
How to find the files which are created Just after midnight, the previous day.
For the file which are created after midnight TODAY, I could refer to a file with the -newer option.
find / -name "abc*.txt" -newer /etc/today-file-after-midnight.
The question is for the PREVIOUS days file. Just the previous day!!
the command
find / -name "def*.txt" -mtime +1 - gives me the list of ALL previous old files. But I want only the previous day (yesterday) file.
Please help.
Balaji
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- Previous message: Thomas Northup: "[HPADM] Scripting question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|