[nycbug-talk] Files/directories by date utility?

Dan Langille dan at langille.org
Mon Jul 26 23:12:59 EDT 2010

On 7/26/2010 8:21 PM, Francisco Reyes wrote:
> Before re-inventing the wheel, anyone know of a port for FreeBSD that
> would show dates of files by directory or something like it.
> In particular I am looking for the newest file per folder.
> If nothing like it exists thinking of using the output of:
> find <dir> -exec ls -l {} \;
> As the starting point.
> For quick and dirty may just throw the data into a database
> directory
> file
> date
> then I could do all the sorting/querying I could ever need..
> Anyone ever dealt with a simmilar problem?

I've long wanted to get a list of all files sorted by descending date 
modified?  Why?  For backups.  When doing an incremental backup, a long 
can be spent searching for those files.  It'd be great if that could be 
built into the OS.  I am hoping this can be tacked onto ZFS:

   See http://dan.langille.org/2009/12/05/faster-backups/

Dan Langille - http://langille.org/

More information about the talk mailing list