Adam Johnson
Read post

Zsh: list recently modified files with (m0) glob qualifiers

Zsh glob qualifiers can filter files by modification time using the `m` qualifier. `*(m0)` matches files modified within the past 24 hours, while `*(mh0)` narrows it to the last hour. Other time units include months (M), weeks (w), minutes (m), and seconds (s). Additional qualifiers like `**/*` for recursive search, `.` to exclude directories, and `N` to suppress errors when no matches exist make this a flexible tool for working with recently downloaded or modified files.

    #cli#shell#bash
Aug 04•2m read time•From adamj.eu
Post cover image
1.6K Impressions
Adam Johnson's image
Adam Johnson

AdamJ's platform covers topics related to software development, technology trends, and coding tutor...

54 Followers

•

444 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard