Files

7 lines
244 B
Cheetah
Raw Permalink Normal View History

# no cache but more accurate than pj (https://github.com/josephschmitt/pj)
2026-05-04 19:33:07 +02:00
FD=$(command -v fdfind || command -v fd)
"$FD" -H -d 7 -t d -E .git -E .gitlab . "{{ .projectdir }}" \
| awk '{ print length, $0 }' \
| sort -n \
| cut -d' ' -f2-