LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to find the files which are created 1hr back. (https://www.linuxquestions.org/questions/linux-general-1/how-to-find-the-files-which-are-created-1hr-back-4175448047/)

alavala53 01-31-2013 03:37 PM

how to find the files which are created 1hr back.
 
i am using hp-ux and i tried to use -mmin for my requirement but it showing an error i.e
find . -mmin -6
find: bad option -mmin

so please tell me how to find which files are created past 2 or 3 hrs.

TB0ne 01-31-2013 03:48 PM

Quote:

Originally Posted by alavala53 (Post 4881651)
i am using hp-ux and i tried to use -mmin for my requirement but it showing an error i.e
find . -mmin -6
find: bad option -mmin

so please tell me how to find which files are created past 2 or 3 hrs.

You're using HP/UX, not Linux...this question would be better off in the HP/UX or "Other *nix" forum. And have you tried reading the man page on the HP/UX system's find command??
http://johnmeister.com/CS/UNIX/HP-UX/find-man-hp.html

Pay particular attention to the -atime, mtime, and ctime switches.


All times are GMT -5. The time now is 05:42 AM.