Skip to main content
added 276 characters in body
Source Link
Stéphane Chazelas
  • 584.7k
  • 96
  • 1.1k
  • 1.7k

With zsh:

autoload age
ls -ldrt -- **/*(e{age 2013/03/06:13:20:00 2013/05/18:11:00:00})

See:

info -f zsh --index-search=age

for details.

(note that it will be a lot less efficient than Anthon's GNU find solution as it will parse those dates, do 2 lstats for every file and sort the list of files (you can avoid that last part by adding oN to the list of globbing qualifiers; use D to include dotfiles)).

With zsh:

autoload age
ls -ldrt -- **/*(e{age 2013/03/06:13:20:00 2013/05/18:11:00:00})

See:

info -f zsh --index-search=age

for details.

With zsh:

autoload age
ls -ldrt -- **/*(e{age 2013/03/06:13:20:00 2013/05/18:11:00:00})

See:

info -f zsh --index-search=age

for details.

(note that it will be a lot less efficient than Anthon's GNU find solution as it will parse those dates, do 2 lstats for every file and sort the list of files (you can avoid that last part by adding oN to the list of globbing qualifiers; use D to include dotfiles)).

Source Link
Stéphane Chazelas
  • 584.7k
  • 96
  • 1.1k
  • 1.7k

With zsh:

autoload age
ls -ldrt -- **/*(e{age 2013/03/06:13:20:00 2013/05/18:11:00:00})

See:

info -f zsh --index-search=age

for details.