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 > 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
How to list files Created in last 2 hrs rsonakiya UNIX for Dummies Questions & Answers 4 03-02-2009 07:25 AM
List the files without directory path madankumar UNIX for Dummies Questions & Answers 2 07-18-2008 04:23 PM
How to list all the files which are not generated today redlotus72 UNIX for Dummies Questions & Answers 2 10-05-2007 09:27 AM
command to list files that are created before some date csreenivas SUN Solaris 3 06-27-2007 06:34 PM
How to list files with specific created date Draculla Filesystems, Disks and Memory 2 05-03-2007 11:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-18-2008
meetusha.b meetusha.b is offline
Registered User
  
 

Join Date: Aug 2008
Location: Bangalore
Posts: 3
Post To list all the files created today with directory path

Hi,

Can any one tell the command to list all the files that are created as of today from all the directories?

The Command "ls -ltR" is listing all the files.
But I want the list of files that has been created as of today along with the directory path

Thank you in advance.

Regards,
Usha.
  #2 (permalink)  
Old 08-18-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,723
Unix is not windows - it does not have a file creation time. ctime is the last time inode data changed which includes creation. Linux example:
Code:
rm -f dummy
yesterday=200808172359
touch -t $yesterday dummy
find / -cnewer dummy -type f -print
  #3 (permalink)  
Old 08-18-2008
palsevlohit_123 palsevlohit_123 is offline
Registered User
  
 

Join Date: Aug 2008
Location: India-Chennai
Posts: 120
find `pwd` -mtime -1 -type f -print
  #4 (permalink)  
Old 08-18-2008
meetusha.b meetusha.b is offline
Registered User
  
 

Join Date: Aug 2008
Location: Bangalore
Posts: 3
Hi jim,

with the command,
ls -ltR|grep 'Aug 18'

I am able to get the list of files created as of today from all the sub-directories. But can you please help me how can i get it directory wise?

Thank you:-)
Usha
  #5 (permalink)  
Old 08-18-2008
meetusha.b meetusha.b is offline
Registered User
  
 

Join Date: Aug 2008
Location: Bangalore
Posts: 3
Thanks a lot Lohith:-)
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 06:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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