mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-18 09:26:11 +00:00
updated find one-liners
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
f9f420b20d
commit
1fde5d9ebf
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user