From da8364e5033d532b935b8850fd5581010f65c0c0 Mon Sep 17 00:00:00 2001 From: rprieto Date: Wed, 25 Dec 2013 22:53:43 +1100 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9Cfind=E2=80=9D=20page=20to=20work?= =?UTF-8?q?=20around=20{}=20in=20tokens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osx/find.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/osx/find.md b/osx/find.md index 81e641e01..a6c8b3957 100644 --- a/osx/find.md +++ b/osx/find.md @@ -1,14 +1,15 @@ # find -> Find files under the current directory tree, recursively +> Find files under the given directory tree, recursively - find files by extension `find {{root_path}} -name {{'*.py'}}` - run a command for each file +- use {} within the command to access the filename -`find {{root_path}} -name {{'*.py'}} -exec {{wc -l {}}} \;` +`find {{root_path}} -name {{'*.py'}} -exec {{command}} \;` - find files modified since a certain time