Skip to content

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.

updated find one-liners - signed-off-by: trimstray <[email protected]>

trimstray1fde5d9ebfa7
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 </path/to/dir> -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))