Forrest logo
back to the find tool

find:ai:3d4b0

find all directories only sort month date time
$ find . -type d -exec stat --format='{"path": "%n", "modified": "%y"}' {} + | sort -k2
try on your machine

Find all directories and display their path and modified date time, then sort by month date time.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • find all directories only sort month date time?
back to the find tool