From: Oleg Broytman Date: Thu, 26 May 2016 13:26:58 +0000 (+0300) Subject: Refactor find parameters X-Git-Tag: 5.0.0~131 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ca217398a70481e74e462bbb8ab704c21eda9142;p=bookmarks_db.git Refactor find parameters There is no need to search files in depth. Optimization: filter by name then by type. --- diff --git a/Makefile b/Makefile index 5354e31..d3856ee 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,4 @@ examples_distr: .PHONY: clean clean: - find . -depth -type f -name '*.py[co]' -delete + find . -name '*.py[co]' -type f -delete