linux find xargs

find . -type f -print |xargs file
find / -name "core" -print | xargs > /tmp/core.log
find . -perm -7 -print | xargs chmod o-w
find . -type f -print | xargs grep "hostname"
find . -name 'log*' | xargs -i mv {} dir1

你可能感兴趣的:(linux find xargs)