Explorar el Código

remove unnecessary example.

Bo-Yi Wu hace 9 años
padre
commit
c97b729924
Se han modificado 1 ficheros con 1 adiciones y 7 borrados
  1. 1 7
      pages/common/find.md

+ 1 - 7
pages/common/find.md

@@ -6,12 +6,6 @@
 
 `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 {{rm {} }}\;`
-
 - find files modified since a certain time
 
 `find {{root_path}} -name {{'*.py'}} -mtime {{-1d}}`
@@ -22,4 +16,4 @@
 
 - delete files by name, older than a certain number of days
 
-`find {{root_path}} -name {{'*.py'}} -mtime {{-180d}} -delete`
+`find {{root_path}} -name {{'*.py'}} -mtime {{-180d}} -delete`