linux 下批量删除文件(夹)


find . -name '.svn' -exec rm -rf {} \;

-exec 是find的参数,查出文件(夹)执行后执行的命令。

猜你喜欢

转载自tycomputer.iteye.com/blog/1532733