From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4080 invoked by alias); 12 Mar 2010 19:00:14 -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: 14929 Received: (qmail 2606 invoked from network); 12 Mar 2010 19:00:03 -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:59:56 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31-9-rt; KDE/4.3.2; x86_64; ; ) References: <201003121949.00046.joke@seiken.de> In-Reply-To: <201003121949.00046.joke@seiken.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1723253.vHWx8rJoEa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201003121959.56421.joke@seiken.de> --nextPart1723253.vHWx8rJoEa Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I forgot to mention you need to autoload the age function. zsh/stat should be loaded automatically by age. autoload -Uz age ls -l *(e:age $(date +%F):) On Freitag 12 M=C3=A4rz 2010 19:48:51 Joke de Buhr wrote: > You can use the age calendar function as a globbing function: > http://zsh.sourceforge.net/Doc/Release/Calendar-Function-System.html#SEC2= 29 >=20 > zmodload -i zsh/stat > ls -l *(e:age $(date +%F):) >=20 > On Freitag 12 M=C3=A4rz 2010 17:38:06 zzapper wrote: > > Hi > > > > > > ls -l *(m0) last 24 hours? > > ls -l *(m-1) last 24 hours? > > > > I'd always thought that m0 and m-1 meant changed today but in fact they > > are giving me the last 24hours > > > > How could i specify just today? >=20 --nextPart1723253.vHWx8rJoEa 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) iQIcBAABCgAGBQJLmo8sAAoJEMcNQWzYfbLsYcAP/3mfdJhv5R2JF+2KXMsl4rjL 6xdhQgyww/Pr3emyzl+OwXQERS1xns9q8q1H+pilzLNI2xt+jBwNRsPMzdN/KNyr /nHWgTvap4NEbxAHNT1OCJbRc2v6Pz2IedQ68/5PNT1EXc5gbiUP23BimbBqfpIv YIg2rVyF4Bzf4CgZMV7L/IvwcptxX5WGNDefvn6KOIp2wyi32PULHQFSqhB1H2ES pOai4HXekCcSzN+Hgi/KgaXjd73P7aOzMn1jH4K4lZDo5Vm+S1H6gH78OF7fhsHF IGCyqERoYOPK/hw2t+j2eW32pcf1RSU8oJ8ORdg8ZiJWd3Fa9N9bgGP0Ui3O9LiY mT8bCWuG0RQ4x0c+NfQM4dRsdIQFPIjGzokGon95BkbDwBYfx6fedr/o13jpHKZN 6BmpE99Gk2EcsloatGjlMkPQ55oxaexwfEIHCnNPgCjK2ocKdS26OZBJQky9jgmo s+/GaReS70vlJPH+k+tHWAArHACt49kQBCTix1NzsMlMjA8CeHPAoGQbzSECoxpw KSEIZv6KbsSBMHl16vqPvx8kk1UDaDt5i0vDEAYDE7Z9J8BsGNEJ76knOaauguuN 06mpXIeVjidgwGev7ENBGrayp04J1a3e+HZhSbQzJwdvVQQDFOkK9Coov3BXM8ER U9SDheRSZHwTOr3zrDQJ =inBA -----END PGP SIGNATURE----- --nextPart1723253.vHWx8rJoEa--