Unix/Linux Go Back    


UNIX for Beginners Questions & Answers If you're not sure where to post a Unix or Linux question, post it here. All unix and Linux beginners welcome in this forum!

How to list todays file in perticular folder?

UNIX for Beginners Questions & Answers


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-13-2016
pspriyanka pspriyanka is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 24 May 2016, 12:53 PM EDT
Posts: 53
Thanks: 17
Thanked 0 Times in 0 Posts
How to list todays file in perticular folder?

How to list todays file in perticular folder



Moderator's Comments:
How to list todays file in perticular folder? Moved thread to appropriate forum

Last edited by Scrutinizer; 05-14-2016 at 02:03 AM..
Sponsored Links
    #2  
Old Unix and Linux 05-13-2016
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 18 October 2017, 10:16 AM EDT
Location: Switzerland - GE
Posts: 6,470
Thanks: 288
Thanked 551 Times in 513 Posts
Do you mind explaining us what makes you thing this question should be in this sub-forum?
Sponsored Links
    #3  
Old Unix and Linux 05-16-2016
pspriyanka pspriyanka is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 24 May 2016, 12:53 PM EDT
Posts: 53
Thanks: 17
Thanked 0 Times in 0 Posts
Sorry, its by mistake...

will take care of this point from next time. I didn't checked the proper forum
    #4  
Old Unix and Linux 05-16-2016
RudiC RudiC is online now Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 18 October 2017, 10:48 AM EDT
Location: Aachen, Germany
Posts: 11,474
Thanks: 310
Thanked 3,558 Times in 3,275 Posts
The find command with the -[acm]min or -[acm]time test will do what is requested.
Sponsored Links
    #5  
Old Unix and Linux 05-16-2016
pspriyanka pspriyanka is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 24 May 2016, 12:53 PM EDT
Posts: 53
Thanks: 17
Thanked 0 Times in 0 Posts
can u give me simple example... I am new to unix
Sponsored Links
    #6  
Old Unix and Linux 05-16-2016
RudiC RudiC is online now Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 18 October 2017, 10:48 AM EDT
Location: Aachen, Germany
Posts: 11,474
Thanks: 310
Thanked 3,558 Times in 3,275 Posts

Code:
find /path/to/folder -mmin -1440

For experts and even more for newbies the man pages are an invaluable source of information on *nix commands. In your case, man find will unveil a wealth of convenient topics/aspects.
Sponsored Links
    #7  
Old Unix and Linux 05-17-2016
pspriyanka pspriyanka is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 24 May 2016, 12:53 PM EDT
Posts: 53
Thanks: 17
Thanked 0 Times in 0 Posts
Thanks Rudic ..

but instead of minute can we directly consider todays date ?

because here I have to calculate minutes for every time .
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to list todays and yesterdays .rej files from a directory? GopalKrishnaP Shell Programming and Scripting 9 08-13-2012 09:30 AM
List/Range Todays Log. anand.kulkarni Shell Programming and Scripting 4 06-07-2010 05:57 PM
How to list todays file unx100 Shell Programming and Scripting 19 07-18-2009 10:29 AM
to get list of files of a perticular range of time useless79 Shell Programming and Scripting 1 11-07-2007 02:53 AM
space in perticular folder in unix spandu UNIX for Dummies Questions & Answers 7 06-07-2006 02:13 AM



All times are GMT -4. The time now is 10:52 AM.