Technocrat's Perspective

-a technical blog

Search unmodified files list over a period of time in Linux

Hi All,
Recently I went through an article about linux. I was searching for an information to get the files that were not modified for certain number of days. Most often i used to do every action through command line. Unfortunately i was not able to find the command for such task in Windows. I turned my attention towards linux if that can be possible to list out all the files that are not modified under a folder for certain days. I had a long time interest to learn Linux always. Recently I requested for a Free CD from Ubuntu and i received Ubuntu 9.10 CD. I installed linux on my personal laptop. On going through various blogs, finally i was able to search for files not modified for specific days. Here is the following command

find /home/enpysoft/npselvan -type f -atime +10 -exec ls -ultr {} \;

Where /home/enpysoft/npselvan is the file path and 10 refers to the number of days. If anyone knows a command to do the same in Windows operating system, reply here.

Thanks in Advance.
Regards,
npselvan

June 11, 2010 Posted by | Linux, Technology | Leave a Comment

   

Follow

Get every new post delivered to your Inbox.