dotfiles/config/scripts/oldestFile

3 lines
71 B
Bash
Executable File

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