Update 08-11-2019
This commit is contained in:
@@ -49,6 +49,20 @@ find / -mtime +30 -print
|
||||
find / -mtime 30 -print
|
||||
```
|
||||
|
||||
```bash
|
||||
find . -mtime +0 # find files modified greater than 24 hours ago
|
||||
find . -mtime 0 # find files modified between now and 1 day ago (i.e., in the past 24 hours only)
|
||||
find . -mtime -1 # find files modified less than 1 day ago (SAME AS -mtime 0)
|
||||
find . -mtime 1 # find files modified between 24 and 48 hours ago
|
||||
find . -mtime +1 # find files modified more than 48 hours ago
|
||||
```
|
||||
|
||||
Rechercher <u>le plus vieux</u> fichier:
|
||||
|
||||
```bash
|
||||
find / -type f -printf '%T+ %p\n' | sort | head -n 1
|
||||
```
|
||||
|
||||
Recherche suivant la <u>taille</u>:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user