Skip to content

wp.jochen.hayek.name/blog-en

    • About

GNU find – search for files in a directory hierarchy

Written by

johayek

in

GNU, UNIX
  • https://manpages.debian.org/unstable/findutils/find.1.en.html

print each file’s last modification time (%T+) and its name (%P):

$ find . -type f -printf '%T+ %P\n'

Because the time stamp is printed first and also in a suitable way, this is what we use to sort the files within a directory by their last modification time.

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Press This! (Opens in new window) Press This
  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • More
  • Print (Opens in new window) Print
  • Share on Telegram (Opens in new window) Telegram
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest

Like this:

Like Loading…
←Container Linux by CoreOS
Kaddish originally written in Hebrew!?!→

Comments

Leave a Reply Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More posts

  • setting up VPN with my routers at home

    2026-09-23
  • BVG musicians – the community …

    2026-09-17
  • OmniSSH instead of PuTTY?

    2026-09-14
  • my Apple Watch and my router

    2026-09-10

wp.jochen.hayek.name/blog-en

Just another Jochen Hayek site

  • Blog
  • About
  • FAQs
  • Authors
  • Events
  • Shop
  • Patterns
  • Themes

Twenty Twenty-Five

Designed with WordPress

%d