Skip to content

Instantly share code, notes, and snippets.

@lucianmachado
Created May 1, 2024 16:55
Show Gist options
  • Save lucianmachado/94f99bd6b4031f1545023ed6da216603 to your computer and use it in GitHub Desktop.
Save lucianmachado/94f99bd6b4031f1545023ed6da216603 to your computer and use it in GitHub Desktop.
find directory matching with pattern and sort by last modified
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