find: add -daystart option (#6499)

This commit is contained in:
dwdh
2021-09-11 03:46:33 +08:00
committed by GitHub
parent 222f3e6130
commit 0e0dc204b2

View File

@@ -29,7 +29,7 @@
- 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: