1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-08 09:35:39 +02:00

find: added options for multiple search criteria and empty files

This commit is contained in:
Cvetomird91 2015-12-30 20:43:58 +02:00
parent 1f74ef276d
commit a7909ab6e6

View file

@ -25,3 +25,11 @@
- delete files by name, older than a certain number of days
`find {{root_path}} -name {{'*.py'}} -mtime {{-180d}} -delete`
- find empty files
`find -empty`
- find files matching more than one search criteria
`find {{root_path}} -name {{'*.py'}} -or -name {{'*.rb'}}