in reply to Re: Re: File list by date
in thread File list by date

Using this method (snax), is there a way to only list files that are one hour old, or two hours old, etc.?

Replies are listed 'Best First'.
Re: Re: Re: Re: File list by date
by snax (Hermit) on Jun 27, 2001 at 12:44 UTC
    Nope :)

    For OS ways to do this, the *nix answer is to use find and sort. Perl is definitely a reasonable way to go when you want this kind of response.

    I usually pipe ls -lt through head -N to just see the more recent files, though, and vary N as necessary.

    But then again, I'm lazy :)