From 1fde5d9ebfa760f4ede6cd703d6402a5443c1ba7 Mon Sep 17 00:00:00 2001 From: trimstray Date: Wed, 1 Aug 2018 15:06:46 +0200 Subject: [PATCH] updated find one-liners - signed-off-by: trimstray --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 6035ab9..224334d 100644 --- a/README.md +++ b/README.md @@ -658,6 +658,12 @@ find . -depth -type d -empty -exec rmdir {} \; find -xdev -samefile filename ``` +###### Recursively find the latest modified files + +```bash +find . -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head +``` + ___ ##### Tool: [top](https://en.wikipedia.org/wiki/Top_(software))