find: add -daystart option (#6499)
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
- Find files modified in the last 7 days and delete them:
|
- Find files modified in the last 7 days and delete them:
|
||||||
|
|
||||||
`find {{root_path}} -mtime -{{7}} -delete`
|
`find {{root_path}} -daystart -mtime -{{7}} -delete`
|
||||||
|
|
||||||
- Find empty (0 byte) files and delete them:
|
- Find empty (0 byte) files and delete them:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user