Skip to content

Commit f7f4728

Browse files
committed
more simple rm pyc files command
1 parent 4af2850 commit f7f4728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/writing/gotchas.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Removing Bytecode (.pyc) Files
224224

225225
Here's nice trick for removing all of these files, if they already exist::
226226

227-
$ find . -name "*.pyc" -exec rm -rf {} \;
227+
$ find . -name "*.pyc" -delete
228228

229229
Run that from the root directory of your project, and all ``.pyc`` files
230230
will suddenly vanish. Much better.

0 commit comments

Comments
 (0)