VL
Size: a a a
D
PG
PG
VL
VL
VL
VL
D
PG
(defun go (dir &optional id-format)
(let ((dirs (list dir)) files)
(while dirs
(dolist (it (directory-files-and-attributes (pop dirs) t "^[^.]" t id-format))
(cond ((null (cadr it))
(push it files))
((stringp (cadr it))
"симлинк :^)")
(t
(push (car it) dirs)))))
files))
PG
PG
VL
(cl-loop for elm in '((a 1) (a 2) (a 5) (a 3) (a 4))
for max = elm then (if (< (cadr elm) (cadr max)) max elm)
finally return max)
VL
VL
VL
PG
VL