diff --git a/pages/common/find.md b/pages/common/find.md index 3d6845125..102e95d9f 100644 --- a/pages/common/find.md +++ b/pages/common/find.md @@ -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 or directories + +`find {{root_path}} -empty` + +- find files matching more than one search criteria + +`find {{root_path}} -name {{'*.py'}} -or -name {{'*.rb'}}