mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
find: add unit for mtime
Clarifying that mtime stands for no. of days
This commit is contained in:
parent
bd1ac222a2
commit
1e8f60f7cd
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@
|
|||
|
||||
- Find files using case insensitive name matching, of a certain size:
|
||||
|
||||
`find {{root_path}} -size +500k -size -10MB -iname '{{*.TaR.gZ}}'`
|
||||
`find {{root_path}} -size {{+500k}} -size {{-10MB}} -iname '{{*.TaR.gZ}}'`
|
||||
|
||||
- Delete files by name, older than a certain number of days:
|
||||
- Delete files by name, older than 180 days:
|
||||
|
||||
`find {{root_path}} -name '{{*.ext}}' -mtime {{+180}} -delete`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue