Perhaps

    first(sort(map(f -> (realpath(f), unix2datetime(stat(f).mtime)), 
readdir()), by = t -> last(t), rev=true))

would do if there's no better way.

Reply via email to