Linux伊甸园论坛 » Shell编程 » 如何用find一次执行多个命令? (转)
初来乍到
查看详细资料
TOP
版主
超级版主
find -name "*.bmp" | xargs -i sh -c "optipng -i0 -o3 {}; rm -v {}"