Add note about compatibility of mtime conditions
This commit is contained in:
parent
452c07e78a
commit
7e787c0a76
16
find.md
16
find.md
|
@ -42,6 +42,15 @@ find <path> <conditions> <actions>
|
||||||
-size +2G # Larger than 2GiB
|
-size +2G # Larger than 2GiB
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
-newer file.txt
|
||||||
|
-newerm file.txt # modified newer than file.txt
|
||||||
|
-newerX file.txt # [c]hange, [m]odified, [B]create
|
||||||
|
-newerXt "1 hour ago" # [t]imestamp
|
||||||
|
```
|
||||||
|
|
||||||
|
### Access time conditions
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
-atime 0 # Last accessed between now and 24 hours ago
|
-atime 0 # Last accessed between now and 24 hours ago
|
||||||
-atime +0 # Accessed more than 24 hours ago
|
-atime +0 # Accessed more than 24 hours ago
|
||||||
|
@ -52,12 +61,7 @@ find <path> <conditions> <actions>
|
||||||
-mtime +1w # Last modified more than 1 week ago
|
-mtime +1w # Last modified more than 1 week ago
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
These conditions only work in MacOS and BSD-like systems (no GNU/Linux support).
|
||||||
-newer file.txt
|
|
||||||
-newerm file.txt # modified newer than file.txt
|
|
||||||
-newerX file.txt # [c]hange, [m]odified, [B]create
|
|
||||||
-newerXt "1 hour ago" # [t]imestamp
|
|
||||||
```
|
|
||||||
|
|
||||||
### Condition flow
|
### Condition flow
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue