find: remove redundant -delete from -daystart example (#8981)

This commit is contained in:
Ulysses
2022-10-24 01:28:18 -07:00
committed by GitHub
parent e0a5a7e588
commit b283d13ffb

View File

@@ -27,9 +27,9 @@
`find {{root_path}} -name '{{*.ext}}' -exec {{wc -l {} }}\;`
- Find files modified in the last 7 days and delete them:
- Find files modified in the last 7 days:
`find {{root_path}} -daystart -mtime -{{7}} -delete`
`find {{root_path}} -daystart -mtime -{{7}}`
- Find empty (0 byte) files and delete them: