LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-16-2003, 08:36 AM   #1
Pleasure
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
Question how do i locate files?


how do i locate files which are last access for like say 6mth and larger then maybe lets say 1mb by using the "find" command?

anyone have any idea on it?
thanks..
 
Old 08-16-2003, 08:57 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
find /directory/to/start -size +100000c -atime 182

+1000000c means over a Million bytes. atime comes in days.

For other options see http://www.computerhope.com/unix/ufind.htm
 
Old 08-16-2003, 09:42 AM   #3
Pleasure
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
thx man....

but one question..

when i do the command -atime 182 and -atime +182 the result comes out is different....

any clue of why this is?
 
  


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
Locate and invisible files pittopitto Linux - Software 2 10-24-2005 03:22 AM
locate and copy files - without directory tree rodda Linux - General 1 01-16-2005 03:10 AM
receive error when trying to locate files. jleakey77 Linux - Newbie 2 03-07-2004 08:33 PM
how do I locate all *~ files ner Linux - General 3 11-18-2003 02:57 AM
locate command shows some files which are not listed by ls .... m_a Linux - Newbie 2 08-03-2003 08:10 AM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
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