From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2324 invoked from network); 22 Aug 1999 18:57:56 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Aug 1999 18:57:56 -0000 Received: (qmail 4579 invoked by alias); 22 Aug 1999 18:57:34 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2492 Received: (qmail 4570 invoked from network); 22 Aug 1999 18:57:34 -0000 To: zsh-users@sunsite.auc.dk Subject: Re: Files modified after a given date References: <19990822183113.A21680@vin.ens-lyon.fr> <19990822191725.A22106@vin.ens-lyon.fr> From: Bruce Stephens Date: 22 Aug 1999 19:55:27 +0100 In-Reply-To: Vincent Lefevre's message of "Sun, 22 Aug 1999 19:17:25 +0200" Message-ID: User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/21.1 (Big Bend) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Vincent Lefevre writes: > On Sun, Aug 22, 1999 at 17:44:45 +0100, Bruce Stephens wrote: > > Assuming I'm understanding the question correctly, no. You can (in > > 3.1.6, anyway), get files modified since some time relative to the > > current time: > > > > *.c(ms-30) > > > > expands to C files modified in the last 30 seconds, for example. > > But I don't want it to be relative to the current time. In which case, I don't think there's a builtin glob way of doing it. You could write a function using the stat module, but I don't think we have user-defined glob patterns yet? zmodload stat; builtin stat -H foo .zshrc; echo $foo[mtime] prints 934038501, for me.