The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
finding the file which is modified within last 2 hours trichyselva Shell Programming and Scripting 5 06-04-2009 01:53 PM
Finding list of modified files for a particular time duration sanajyg_mnit SUN Solaris 2 02-13-2007 03:48 AM
Finding out the last modified time for files kumariak Shell Programming and Scripting 3 10-18-2005 02:11 PM
files created within last 10 mins frustrated1 UNIX for Dummies Questions & Answers 5 08-03-2005 10:09 AM
Finding modified files rhayabusa UNIX for Dummies Questions & Answers 2 12-16-2004 01:48 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-14-2007
rajus19 rajus19 is offline
Registered User
  
 

Join Date: Feb 2005
Location: Bangalore
Posts: 36
Finding files which are modified few mins ago

Hi All,

I have a requirement to find out the files which are modified in the last 10 minutes.

I tried the find command with -amin and -mmin options, but its not working on my AIX server.

Can anyone of you could help me.

Thanks in advance for your help.
Raju
  #2 (permalink)  
Old 08-14-2007
xramm xramm is offline
Registered User
  
 

Join Date: May 2007
Posts: 113
try this one:

find . -mmin -10

more info:

http://www.unix.com/shell-programmin...hours-old.html
  #3 (permalink)  
Old 08-16-2007
rajus19 rajus19 is offline
Registered User
  
 

Join Date: Feb 2005
Location: Bangalore
Posts: 36
Thanks for the help.

But the -mmin option is not working. I tried -newer option for which you have provided a link, thats working.

Please let me know if there is any other option.

Thanks,
raju
  #4 (permalink)  
Old 08-16-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
How about reading the FAQs before asking questions? Here are the FAQs. You know that you are looking for the find command. On the FAQ page, there is a link to the advanced/complex uses of the find command.

Go there and you will find what you are looking for. Exactly what you are looking for.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0