[HPADM] find command help on previous day's (yesterday's) file

From: Balaji Nathan (balajinathan2003_at_yahoo.com)
Date: 07/28/04

  • Next message: Naylor, Jim: "[HPADM] RE: -[SUMMARY]- IBM Storage Question"
    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)
    

  • Next message: Naylor, Jim: "[HPADM] RE: -[SUMMARY]- IBM Storage Question"

    Relevant Pages

    • [HPADM] Re: System zombie
      ... Execute the command: ... Stepahnie ... New and Improved Yahoo! ... To subscribe/unsubscribe to this list, ...
      (HP-UX-Admin)
    • Re: [SLE] YAST Online Update error: kdesu: cannot connect to X server
      ... My SGI Prism running SLES 9 is also very temperament ... > online_update') from command line it should bring up ... > Do You Yahoo!? ... Mail has the best spam ...
      (SuSE)
    • SUMMARY: cropping a file
      ... Although this will execute very quickly (assuming ... The logfile is being modified by two ... he executes the 'w' command. ... > Do you Yahoo!? ...
      (Tru64-UNIX-Managers)
    • Re: [SLE] wav => mp3 w/ Audacity
      ... In poking around the web I discovered that the latest ... features so I downloaded the 1.2.0 version and ... > with lame directly with the command: ... Do you Yahoo!? ...
      (SuSE)
    • Re: Hidden Folders
      ... Subject: Hidden Folders ... > have open shares, as people could hide files in your ... command, or do searches for files that have the hidden ... Get email alerts & NEW webcam video instant messaging with Yahoo! ...
      (Vuln-Dev)