Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2003 15:06:16 +0100
From:      Simon Barner <barner@in.tum.de>
To:        =?iso-8859-1?Q?M=FCmin?= Maslak <ymmaslak@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problem
Message-ID:  <20031203140616.GA18216@zi025.glhnet.mhn.de>
In-Reply-To: <BAY1-DAV4238o2omjpD00001580@hotmail.com>
References:  <BAY1-DAV4238o2omjpD00001580@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031203140616.GA18216>