The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Use of mmin dnayakan HP-UX 1 01-18-2008 06:08 AM
Unix command mmin issue Mohee UNIX for Dummies Questions & Answers 1 08-30-2007 07:41 PM
how to find a file named vijay in a directory using find command amirthraj_12 UNIX for Dummies Questions & Answers 5 10-25-2006 02:39 PM
find command using -mmin param jmbeltran HP-UX 3 11-11-2004 01:40 AM
command find returned bash: /usr/bin/find: Argument list too long yacsil Shell Programming and Scripting 1 12-15-2003 02:38 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-14-2004
Registered User
 

Join Date: Sep 2004
Posts: 78
Question no [find -mmin -1]

I wanna show all files like...one minute old, one hour old, five hours old and so on...

in my OS (HP-UX) there's only the command ..

find -name "..." -mtime -n

but this is only for days, there isn't something like -mmin -n ...just don't know what to do. also the newer than option isn't very comfortable.

is there a chance of integrating another find bin? and when, where to get? just like running...

./newfind -name "..." -mmin -1 shouldn't be the problem.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-14-2004
google's Avatar
Moderator
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
See this thread for information on using the find command to search for files based upon time. Also see man find


The find command is really powerful as you can search for files modifed down to an exact (well almost) time using a reference file

touch -t 03201600 /tmp/datefile
creates a file with timestamp of March 20, 4:00

find . -newer /tmp/datefile -print
find files newer than timestamp of datefile - granular to within one minute
Reply With Quote
  #3 (permalink)  
Old 10-14-2004
Registered User
 

Join Date: Sep 2004
Posts: 78
Lightbulb whoooooooo..

that sounds really exciting. I'll have a look, get on trying and write back soon....
Reply With Quote
  #4 (permalink)  
Old 10-14-2004
Registered User
 

Join Date: Sep 2004
Posts: 78
Thumbs up works great !...

exactly that I've searched for....
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0