mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 21:15:32 +02:00
mtime argument (find command) expect numeric value
This commit is contained in:
parent
2ddf298c36
commit
cd29c9775f
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
- Find files modified since a certain time:
|
||||
|
||||
`find {{root_path}} -name '{{}}' -mtime {{-1d}}`
|
||||
`find {{root_path}} -name '{{}}' -mtime {{-1}}`
|
||||
|
||||
- Find files using case insensitive name matching, of a certain size:
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
- Delete files by name, older than a certain number of days:
|
||||
|
||||
`find {{root_path}} -name '{{*.ext}}' -mtime {{-180d}} -delete`
|
||||
`find {{root_path}} -name '{{*.ext}}' -mtime {{-180}} -delete`
|
||||
|
||||
- Find empty files or directories:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue