LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-17-2005, 01:06 PM   #1
lslade
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: Debian
Posts: 14

Rep: Reputation: 0
mtime in find vs ls


Hello,

I am trying to identify old files for deleting or archiving. In this case more than six years old. So I try this:

$ find /mydir -follow -mtime +2190 -print > /tmp/2190.txt

When I read the output and change to one of the relevant directories I cannot find any files that are older than 6 years.

I have tried:
ls -lta which should should the modification time.
ls -ltac and ls -ltau see access time and ctime as well.

None of these dates are older than 6 years.

What am I missing?
 
  


Reply



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
linux find to find files with multiple patterns subu_s Programming 6 12-15-2010 12:15 AM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
mtime/ctime changed on directory entries stardot Linux - Security 2 11-29-2004 10:44 PM
why does sftp change mtime file attribute? hazelhill Linux - Software 3 10-17-2004 09:42 PM
ls --mtime ? mikshaw Linux - Newbie 11 01-25-2004 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 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
Open Source Consulting | Domain Registration