Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2005 14:24:10 -0600 (CST)
From:      David Fleck <david.fleck@mchsi.com>
To:        Jeffrey Ellis <jellis@dhnet.us>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: How to sort find results
Message-ID:  <20051107140553.U3084@grond.sourballs.org>
In-Reply-To: <BF94EE5B.31592%jellis@dhnet.us>
References:  <BF94EE5B.31592%jellis@dhnet.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 7 Nov 2005, Jeffrey Ellis wrote:

> Hi, David--
>
> Thank you.
>
> Wow. That looks great...
>
> Um... Can you tell me how to run it?

Assuming you've saved everything from '#!/usr/bin/perl' to the final '}', 
inclusive, to a file, name the file something, like 'date_sort'. Then

   chmod +x date_sort

   ./date_sort /directory/to/sort

I use this primarily on directory hierarchies of regular files, so I'm not 
guaranteeing what will happen if you use it on directories that contain 
other sorts of files.


--
David Fleck
david.fleck@mchsi.com




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