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
|
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))
|
##### Tool: [top](https://en.wikipedia.org/wiki/Top_(software))
|
||||||
|
Loading…
Reference in New Issue
Block a user