updated find one-liners

- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
trimstray 2018-08-01 15:06:46 +02:00
parent f9f420b20d
commit 1fde5d9ebf

View File

@ -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))