Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ls -l *(m0) last 24 hours?
- X-seq: zsh-users 14930
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: Joke de Buhr <joke@xxxxxxxxx>
- Subject: Re: ls -l *(m0) last 24 hours?
- Date: Fri, 12 Mar 2010 14:25:03 -0500 (EST)
- Cc: zsh-users@xxxxxxx
- In-reply-to: <201003121959.56421.joke@xxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <Xns9D39A93285169zzappergmailcom@xxxxxxxxxxxx> <201003121949.00046.joke@xxxxxxxxx> <201003121959.56421.joke@xxxxxxxxx>
On Fri, 12 Mar 2010, Joke de Buhr wrote:
> 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):)
Very cool. Even simpler, though:
ls -l *(e:age today:)
[[Said the man page:
In addition to the special use of days of the week, today and
yesterday[...]
]]
--
Best,
Ben
Messages sorted by:
Reverse Date,
Date,
Thread,
Author