LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Command to find all of the files which have been accessed within the last 30 days (http://www.linuxquestions.org/questions/linux-newbie-8/command-to-find-all-of-the-files-which-have-been-accessed-within-the-last-30-days-807781/)

sunilup 05-14-2010 05:57 AM

Command to find all of the files which have been accessed within the last 30 days
 
Command to find all of the files which have been accessed within the last 30 days?

zugvogel 05-16-2010 02:32 AM

Try something like:
find * -mtime -30

"-30" means that it was modified "less than 30 days ago"
"+30" means that it was modified "more than 30 days ago"

Hope this is helpful.

edit: use "atime" for access time (the above example is for the modification time)


All times are GMT -5. The time now is 09:08 AM.