Created
May 1, 2024 16:55
-
-
Save lucianmachado/94f99bd6b4031f1545023ed6da216603 to your computer and use it in GitHub Desktop.
find directory matching with pattern and sort by last modified
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find -maxdepth 5 -type d -name "projects" -prune -printf "%T@ %Tc %p\n" | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment