From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26225 invoked from network); 21 Aug 2005 20:11:31 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Aug 2005 20:11:31 -0000 Received: (qmail 78495 invoked from network); 21 Aug 2005 20:11:23 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Aug 2005 20:11:23 -0000 Received: (qmail 298 invoked by alias); 21 Aug 2005 20:11:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9335 Received: (qmail 288 invoked from network); 21 Aug 2005 20:11:16 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Aug 2005 20:11:16 -0000 Received: (qmail 77561 invoked from network); 21 Aug 2005 20:11:16 -0000 Received: from wproxy.gmail.com (64.233.184.205) by a.mx.sunsite.dk with SMTP; 21 Aug 2005 20:11:10 -0000 Received: by wproxy.gmail.com with SMTP id i20so866391wra for ; Sun, 21 Aug 2005 13:11:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hX+ZYPWQJRdFqIcwCrgqv5uvw3ZTsxlqCDGCNfT6FAQBPrXCKrJJ7BbKsim2SfonD3fI+mAAd+F8w2Epqy9qvGuXopDmwO4ABF9wmaYbqXbAql8+NiiuuaxsQ9Yp3VlHA85hPdVybEu7FurIdxX6RdoH6g8ka9Oets3D95WhLvQ= Received: by 10.54.144.17 with SMTP id r17mr1130557wrd; Sun, 21 Aug 2005 13:11:09 -0700 (PDT) Received: by 10.54.96.1 with HTTP; Sun, 21 Aug 2005 13:11:09 -0700 (PDT) Message-ID: <44613de005082113114c9f2092@mail.gmail.com> Date: Sun, 21 Aug 2005 16:11:09 -0400 From: Shawn Halpenny To: zsh-users@sunsite.dk Subject: Re: Extract CTIME in zsh 4.2.3? In-Reply-To: <95E667D6-6AE4-4CDA-B420-30033315C886@tntluoma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <95E667D6-6AE4-4CDA-B420-30033315C886@tntluoma.com> X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RCVD_BY_IP autolearn=ham version=3.0.4 On 8/21/05, Timothy Luoma wrote: >=20 > I have a list of files, I'd like to extract the ctime from the files, > preferably in yyyy-mm-dd format. >=20 > I can't figure out any way to do that. Is it possible? >=20 > TjL > zsh version 4.2.3 on Mac OS X If you can load the zsh/stat module, this is very easy: zmodload zsh/stat stat -F '%Y-%m-%d' +ctime filename --=20 Shawn Halpenny