LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 01-31-2013, 03:37 PM   #1
alavala53
LQ Newbie
 
Registered: Oct 2012
Location: Hyderabad
Posts: 10

Rep: Reputation: Disabled
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.
 
Old 01-31-2013, 03:48 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,778

Rep: Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349
Quote:
Originally Posted by alavala53 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and List Files Created in a Particular Year devUnix Linux - General 3 02-01-2011 07:32 AM
find out the files created on a particular date. ZAMO Linux - General 3 02-08-2008 01:38 AM
Is there a way to find recently created/edited files without using find? BrianK Linux - General 2 10-15-2007 09:41 PM
Find all files created or modified between 2 times MicahCarrick Linux - Software 3 06-29-2006 04:22 PM
Using FIND to locate files created between certain dates billybobjoe1984 Programming 6 07-23-2005 06:07 PM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration