Unix Programming - Identify old files

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > February 2006 > Identify old files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Identify old files
bear

2006-02-20, 7:48 am

hi,
how do i identify old files on a server?
i need to list all files that are older than 30 days.

thanks

Nils O. Selåsdal

2006-02-20, 7:48 am

bear wrote:
> hi,
> how do i identify old files on a server?
> i need to list all files that are older than 30 days.


find . -mtime +30
Might be what you're after. Read the find(1) manpage carefully.
Fletcher Glenn

2006-02-20, 5:54 pm


"bear" <santoshs@nedbank.co.za> wrote in message
news:1140431453.326545.54850@z14g2000cwz.googlegroups.com...
> hi,
> how do i identify old files on a server?
> i need to list all files that are older than 30 days.
>
> thanks
>


Well you could look at the time stamps on the files. You do know how to see
the time stamp don't you?

--

Fletcher Glenn


Bit Twister

2006-02-20, 5:54 pm

On 20 Feb 2006 02:30:53 -0800, bear wrote:
> hi,
> how do i identify old files on a server?
> i need to list all files that are older than 30 days.


In a word:
http://groups.google.com/advanced_group_search




Results 1 - 10 of 16,700 for
find+files+older+days
group:*linux*
(0.36 seconds)

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com