Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2012
    Posts
    5

    How to find last one hour files in hp ux

    Hi All,


    i have to find the the list of files that are created in last one hour.
    but i am new to HPUX,as i know we can use -mmin 60 command to find the last one hour files in SUN SOLARIS .

    please help me its urgent .

    i am using this
    find . -type f -name "*.txt" -print
    this give me the file of txt type but i can i come to know whethet it is crated in last one hour or not ......plss help mee

  2. #2
    Join Date
    Sep 2009
    Location
    Ontario
    Posts
    1,015
    Simple answer. Install the "GNU Utilities" Software - GNU Project - Free Software Foundation

    Alternatively, create a marker file, and set its modification time using 'touch'
    then use 'ls -ltr' to find all the files newer than the marker file.

  3. #3
    Join Date
    Feb 2006
    Posts
    172
    Along the same response by kitaman, Check out the info on this page:
    How to find the files that are created in the last hour in unix - Stack Overflow

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •