1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 20:15:24 +02:00

remove unnecessary example.

This commit is contained in:
Bo-Yi Wu 2015-12-28 13:28:26 +08:00
parent f2cd1a8b64
commit c97b729924

View file

@ -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`