dotfiles/config/scripts/newestFile

3 lines
71 B
Bash
Executable file

#!/usr/bin/env bash
find -type f -printf '%T+ %p\n' | sort | tail "$@"