表示在当前目录下 find . -name "*.txt" -type f -print -exec rm -rf {} \;
find /root/2 -name "*.txt" -type f -print -exec rm -rf {} \;
表示在当前目录下 find . -name "*.txt" -type f -print -exec rm -rf {} \;
find /root/2 -name "*.txt" -type f -print -exec rm -rf {} \;