From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21893 invoked by alias); 12 Mar 2010 18:49:12 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 14928 Received: (qmail 14332 invoked from network); 12 Mar 2010 18:49:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received-SPF: none (ns1.primenet.com.au: domain at seiken.de does not designate permitted sender hosts) From: Joke de Buhr Organization: http://www.seiken.de/ To: zsh-users@zsh.org Subject: Re: ls -l *(m0) last 24 hours? Date: Fri, 12 Mar 2010 19:48:51 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31-9-rt; KDE/4.3.2; x86_64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3599199.dIY0i6ttm4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201003121949.00046.joke@seiken.de> --nextPart3599199.dIY0i6ttm4 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable You can use the age calendar function as a globbing function: http://zsh.sourceforge.net/Doc/Release/Calendar-Function-System.html#SEC229 zmodload -i zsh/stat ls -l *(e:age $(date +%F):) On Freitag 12 M=C3=A4rz 2010 17:38:06 zzapper wrote: > Hi >=20 >=20 > ls -l *(m0) last 24 hours? > ls -l *(m-1) last 24 hours? >=20 > I'd always thought that m0 and m-1 meant changed today but in fact they a= re > giving me the last 24hours >=20 > How could i specify just today? >=20 --nextPart3599199.dIY0i6ttm4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAABCgAGBQJLmoyUAAoJEMcNQWzYfbLspDYP/2ThutIZfulx3noPitxqsMek RqV9UV+C1WCOA0uo76A3KcXyMYWASf/FPf4e/DMo8MVLOd+lfvxNa8pXW3ARxrCJ 4mUI6uvD7wu/K+wCZiWHhbHSME6xhGekNgoaCMfTaYaorBKBziG+MtufGkrLty3Z 7Vb15bp4gjEq0kWsYhf9vMSMjnt44bhIxHu0TwKGtJUimQb9MtjnWsFhHja8T85p /Hd8RO/dMkdgIeEvcze5qeD8LD0wcz+vQH8jMvlN2Ya4sow6yTLWbBy8awlVGiBa Q8P2pkA+eggFyZhfaREupUNKl3jAE4FMT88aqPm1UgShvnA7jF11CluHARxq7JF6 NhwnmkOoOCV+FMx3Hm4foZ9zBEg0UcCNLsYTZKlDU509HCs41OAUBn06SZyBn3dv IUacTOKS8G8tkkcsCYN87LnxtCsZqzLYQDwTNpDCfmKndJFCWxjFV7tbXdPMzynO YorrDQky7KFYEnfd0q4TO3dHEYDhsXNP4nDoj1qlPeTza8Niu6mcFc1SA0oa2rNw yHRE7lnhQ3HBaL1Van1q3kuJvTuaile1424NSqtRyk+2rzCygA73eYUn53/qMQ1i Mpn3poJoUtU26w7jMobEdm8/3XSgxjq3uvM3+Q2osUWJkMDgo0xLdgFyjyV9x9WR nKcGH+RpMMPjpMYquIMp =8JtW -----END PGP SIGNATURE----- --nextPart3599199.dIY0i6ttm4--