使用 shell 命令 将某个文件夹下的所有txt 文件全部找到,并删除或备份 。()
find /i -type f -name "*.txt" -exec cp {} /test \;
find /i -type f -name "*.txt" -xargs cp {} /test \;
find /i -type f -name "*.txt" -exec rm -rf {} \;
find /i -type f -name "*.txt" -print | xargs -t -i cp {} {}.bak