LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2007, 03:31 AM   #1
kaprasanna
LQ Newbie
 
Registered: Mar 2007
Posts: 14

Rep: Reputation: 0
How to - list files that were created aftre certain date


Hi,

I use centOs.
From a directory, I want to list only those files that were created after a certain date.
How do I achieve this?
 
Old 12-10-2007, 03:49 AM   #2
onacorpuscle
LQ Newbie
 
Registered: Mar 2006
Location: Barcelona
Distribution: SUSE LINUX 9.3
Posts: 10

Rep: Reputation: 0
List Files according own creation/modification date

I describe two easy ways to answer your question.

You can see the modified -current dir- files (3 days a go, for example) with:

$ find . -mtime -3

or the created files last year in a specified path... by:

$ find ./xtrn/data/out -ctime -365

Bye

Xavi
 
Old 12-10-2007, 03:50 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Take a look here (LQ Thread).

The 2 answers given should help you out.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ow do I delete all files which were created on a specific date marsguy Linux - General 9 08-21-2007 08:15 AM
Created and Modified date linux2man Linux - Newbie 1 08-13-2007 12:10 PM
list all files created by another user christina_rules Linux - General 6 05-23-2006 09:08 PM
how to list all the files in /tmp directory that have been created or changed. y2k6summi Linux - General 1 03-29-2006 10:21 AM
Date interrogation for files created chunky Linux - General 2 08-03-2004 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration