Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi1:find [2016/11/04 08:38] stefan_miethke [exec & friends] |
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) | # mit Zeitmessung (als shell gruppe) | ||
- | time { find doc -type f -executable -print0 | xargs -0 chmod -x; } | + | time { find doc -type f -executable -print0 | xargs -0 -r chmod -x; } |
===== Ausgabe steuern ===== | ===== Ausgabe steuern ===== |