From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 06:06:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54ECF16A4CE for ; Wed, 3 Dec 2003 06:06:23 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 017EC43FAF for ; Wed, 3 Dec 2003 06:06:22 -0800 (PST) (envelope-from barner@in.tum.de) Received: from zi025.glhnet.mhn.de (localhost.glhnet.mhn.de. [127.0.0.1]) by zi025.glhnet.mhn.de (8.12.9p2/8.12.9) with ESMTP id hB3E6GmI048594; Wed, 3 Dec 2003 15:06:17 +0100 (CET) (envelope-from simon@zi025.glhnet.mhn.de) Received: (from simon@localhost) by zi025.glhnet.mhn.de (8.12.9p2/8.12.9/Submit) id hB3E6GZv048592; Wed, 3 Dec 2003 15:06:16 +0100 (CET) (envelope-from simon) Date: Wed, 3 Dec 2003 15:06:16 +0100 From: Simon Barner To: =?iso-8859-1?Q?M=FCmin?= Maslak Message-ID: <20031203140616.GA18216@zi025.glhnet.mhn.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-questions@freebsd.org Subject: Re: problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 14:06:23 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > How can I list all files in a directory that are 7+ days > old? (That is except last 7 days)=20 > is that possible with use any command(s) on Freebsd4,x ? Please, consider the following when you post your questions to this mailing list (applies also to others): 1. Wrap your lines at ~ 72 characters. This will help people with CLI MUAs as well as it will produce still readable messages when a paragraph is quoted several times. 2. Choose a reasonable subject. This will increase the probablity that somebody will take the time to read your message and answer it. 3. Most important: Please stop posting the same question several times with different subjects (like you did 4 (!) times with this one here). Email is an ansynchronous medium, and the person who is be able and willing to answer your question might live on the the other half of our beloved planet Earth in a totally different time zone. =20 Also, peoples' time is limited, so some will read their (FreeBSD) mailing lists not every day. When you repost your message, you will annoy them and won't spend their time to help you. If you obey these simple rules of netiquette, you will find that this mailing list is a source of valuable information where lots of nice and helpful people share their FreeBSD experiences. Now, to your question: The command in question is `find'. To learn about find, read its man page (esp. useful: the EXAMPLE section): % man find In your case, the command line looks like this: % find /path/to/your/directory -mtime +7d Regards, Simon --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/ze3XCkn+/eutqCoRAqMNAJ0VGBVp2fo1k0gpYR8aJTBzMXDclwCfWl9Z l5cT4uSU7T7NBUxGbYxsYPQ= =3nVB -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--