Add note about compatibility of mtime conditions

This commit is contained in:
Rico Sta. Cruz 2019-11-17 16:31:53 +11:00
parent 452c07e78a
commit 7e787c0a76
1 changed files with 10 additions and 6 deletions

16
find.md
View File

@ -42,6 +42,15 @@ find <path> <conditions> <actions>
-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
-atime 0 # Last accessed between now and 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
```
```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
```
These conditions only work in MacOS and BSD-like systems (no GNU/Linux support).
### Condition flow