> To find files in /tmp last modified more than 10 days ago:
>
> find /tmp -mtime +10
>

regardless of any value i give, it lists all the files in that directory.

i tried from +10 to +250, nothing works.
basically, its a maildir and i have mails from last year october till date.
i want to give the user mails from feb onwards as mails older than feb are
inconsenquential and hence, i want to delete files which are older than feb
1st 2003.

Arvind

 a sample output

# find . -mtime +20|ls -l|more
total 675832
-rw-------    1 1091     postdrop     3418 Oct 25 18:53
1035552085.17296_40.mail.domain.com:2,S
-rw-------    1 1091     postdrop    64719 Oct 25 18:56
1035552365.17366_27.mail.domain.com:2,S
-rw-------    1 1091     postdrop     9959 Oct 25 18:59
1035552576.17396_16.mail.domain.com:2,S
-rw-------    1 1091     postdrop    15830 Oct 25 19:01
1035552576.17396_54.mail.domain.com:2,S



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to