[HPADM] find - limit search

voychry_at_skynet.be
Date: 05/08/03

  • Next message: R Scott Murray: "[HPADM] Summary - Glance or top output to a file"
    To: <hpux-admin@dutchworks.nl>
    Date: Thu, 8 May 2003 20:05:18 +0200
    
    

     Hi,

    I'm searching on a way to 'limit' a find command to the first match.
    For example :
    find /var -type f -mtime +1
    This lists ALL files in var older than one day..and gives a lot of
    overhead because
    i only want to find the FIRST file in that filesystem that's older than
    one day..
     
    Any ideas ?
     
    Regards,
    Guy
     

    --
                 ---> 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: R Scott Murray: "[HPADM] Summary - Glance or top output to a file"

    Relevant Pages

    • Majordomo results: Re: Here
      ... Command 'this' not recognized. ... This is version 1.94.4 of Majordomo. ... To get a list of publicly-available mailing lists on this system, ... that an authorization key is required for subscription. ...
      (comp.lang.python)
    • Majordomo results: Re: Approved
      ... Command 'this' not recognized. ... This is version 1.94.4 of Majordomo. ... To get a list of publicly-available mailing lists on this system, ... that an authorization key is required for subscription. ...
      (comp.lang.python)
    • Majordomo results: [PMX:VIRUS] Re: Proof of concept
      ... Command 'this' not recognized. ... This is version 1.94.5 of Majordomo. ... To get a list of publicly-available mailing lists on this system, ... that an authorization key is required for subscription. ...
      (comp.lang.python)
    • Majordomo results: Look,my beautiful girl friend
      ... Command '<iframe' not recognized. ... This is version 1.94.3 of Majordomo. ... Once you've determined that you wish to subscribe to one or more lists on ... may simply send the command "unsubscribe" followed by the list name: ...
      (Debian-User)
    • Re: Get me out of bad Windows habits, please!
      ... Instead of specific lists of things, I was hoping for a more ... >> If I have a sound driver failure in Windows, ... >> Generally in Linux, instead of rebooting, we check X, Y and Z and use ... > Universal Command Guide for Operating Systems ...
      (alt.os.linux.suse)