LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-2012, 06:00 AM   #1
danieella
LQ Newbie
 
Registered: Dec 2012
Posts: 9

Rep: Reputation: Disabled
Get list of modified files


How to get the list of files that was modified 1 day ago and put this information inside a file in a folder. (Using putty)
 
Old 12-10-2012, 06:09 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
It can be easily done using find command (Read: man find). To search files modified 1 day ago, use:
Code:
find /path/to/dir -mtime -1 -print > /path/to/outputfile
/path/to/dir is directory under which you want to seach such files and /path/to/outputfile is output file where you want to save the list of such files.
 
Old 12-10-2012, 06:53 AM   #3
danieella
LQ Newbie
 
Registered: Dec 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks

Thanks alot
 
Old 12-10-2012, 08:16 AM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
If it's solved, please mark it as SOLVED (Under Thread Tools option on the top).
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] List modified configuration files [CentOS 5.4] carbonfiber Red Hat 6 02-21-2010 07:24 AM
How to list all modified files on specified day ? m_abdelfattah Linux - Newbie 2 07-20-2009 02:11 AM
How do I list recently created/modified files? khvatov Linux - Newbie 3 03-08-2009 10:12 PM
how to list all files modified in last N days sneakyimp Linux - General 3 07-28-2006 12:16 PM
find and list files modified since system was booted Mike144 Linux - Newbie 5 04-09-2006 08:03 PM


All times are GMT -5. The time now is 07:12 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