Quellcode durchsuchen

find: improve -mtime example

Make the description clearer and more specific to the given `-1`
parameter.
Remove unnecessary `-name '{{}}'` from example.
Eric Nielsen vor 7 Jahren
Ursprung
Commit
b0b440436f
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      pages/common/find.md

+ 2 - 2
pages/common/find.md

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