using bsd commands

Toni Schmidbauer toni at stderror.at
Thu Dec 4 13:43:25 PST 2003


On Wed, Dec 03, 2003 at 09:35:13AM +0200, Mmin Maslak wrote:
> How can I list all files in a directory that are 7+ days old? (That is except last 7 days) 
> is that possible with use any command(s) on Freebsd4,x ?

man find(1)

find . -type f -atime +7d -print

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.       | Toni Schmidbauer
-- Rudolf Steiner                                | 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031204/eb972c0b/attachment.bin


More information about the freebsd-questions mailing list