Skip to content

Commit

Permalink
find: improve -mtime example
Browse files Browse the repository at this point in the history
Make the description clearer and more specific to the given `-1`
parameter.
Remove unnecessary `-name '{{}}'` from example.
  • Loading branch information
ericbn committed Oct 5, 2017
1 parent 66e189d commit b0b4404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/common/find.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

`find {{root_path}} -name '{{*.ext}}' -exec {{wc -l {} }}\;`

- Find files modified since a certain time:
- Find files modified in the last 24-hour period:

`find {{root_path}} -name '{{}}' -mtime {{-1}}`
`find {{root_path}} -mtime {{-1}}`

- Find files using case insensitive name matching, of a certain size:

Expand Down

0 comments on commit b0b4404

Please sign in to comment.