Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ls -l *(m0) last 24 hours?



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