Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd December 2007, 06:22 PM
Wiles Offline
Registered User
 
Join Date: Aug 2006
Posts: 396
how to list files changed within a certain time period

I know I can use the ls command to list files and to list files by modification date, but how can I list file only changed within the last two minutes, or during a certain time yesterday?
Reply With Quote
  #2  
Old 2nd December 2007, 09:36 PM
goldenbrown Offline
Registered User
 
Join Date: Jun 2007
Posts: 35
Code:
ll -art
lists all in reverse mod time. Maybe piping through something like awk will allow you to display only those changed in a certain time frame.
Nigel
Reply With Quote
  #3  
Old 3rd December 2007, 12:30 AM
ljos Offline
Registered User
 
Join Date: Dec 2005
Posts: 79
Files that were modified in the last two minutes in current directory and below:
find -mmin -2

Not sure of the best answer to the second question. Maybe something like this:
find . -mtime -2 -mmin +120
That's find files modified in the last two days and not modified in the last two hours.
Reply With Quote
Reply

Tags
changed, files, list, period, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Manager doesn't reconnect after a time period xask00 Servers & Networking 0 24th June 2009 09:23 AM
How can I use ls to list files filtered by time? youhaodeyi Using Fedora 5 23rd February 2009 04:22 AM
Network devices become inactive over a period of time CauticaL Servers & Networking 8 25th July 2008 05:26 AM
Hang on login after being logged out for a long period of time? (FC5) paul_b EOL (End Of Life) Versions 2 27th February 2007 05:13 AM


Current GMT-time: 21:02 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat