Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi1:find [2016/06/28 14:57] ingo_wichmann [find] |
lpi1:find [2017/08/18 10:56] ingo_wichmann [exec & friends] |
||
---|---|---|---|
Zeile 20: | Zeile 20: | ||
time find doc -type f -executable -exec chmod -x {} \; | time find doc -type f -executable -exec chmod -x {} \; | ||
time find doc -type f -executable -exec chmod -x {} + | time find doc -type f -executable -exec chmod -x {} + | ||
- | find doc -type f -executable -print0 | xargs -0 chmod -x | + | find doc -type f -executable -print0 | xargs -0 -r chmod -x |
+ | # mit Zeitmessung (als shell gruppe) | ||
+ | time { find doc -type f -executable -print0 | xargs -0 -r chmod -x; } | ||
===== Ausgabe steuern ===== | ===== Ausgabe steuern ===== |