1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 16:15:36 +02:00

find: clarify description (#15542)

This commit is contained in:
Managor 2025-02-02 17:45:10 +02:00 committed by GitHub
parent 8386f3c243
commit 0251455894
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@
- Find files matching multiple path/name patterns:
`find {{root_path}} -path '{{**/path/**/*.ext}}' -or -name '{{*pattern*}}'`
`find {{root_path}} -path '{{*/path/*/*.ext}}' -or -name '{{*pattern*}}'`
- Find directories matching a given name, in case-insensitive mode:
@ -31,6 +31,6 @@
`find {{root_path}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+`
- Find empty files (0 byte) or directories and delete them verbosely:
- Search for either empty files or directories and delete them verbosely:
`find {{root_path}} -type {{f|d}} -empty -delete -print`