-
-
Save lajunta/d04c8933e1e2b1b4b61cc65acb9c1c96 to your computer and use it in GitHub Desktop.
find latest 10 file in a directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find /data/dbback -type f -printf "%C@ %p\n" | sort -rn | head -n 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment