Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ls -l *(m0) last 24 hours?
- X-seq: zsh-users 14928
- From: Joke de Buhr <joke@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: ls -l *(m0) last 24 hours?
- Date: Fri, 12 Mar 2010 19:48:51 +0100
- In-reply-to: <Xns9D39A93285169zzappergmailcom@xxxxxxxxxxxx>
- 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
- Organization: http://www.seiken.de/
- References: <Xns9D39A93285169zzappergmailcom@xxxxxxxxxxxx>
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Ãrz 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?
>
Attachment:
signature.asc
Description: This is a digitally signed message part.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author