find . -name *appmap* -exec rm -r {} \;

 

 

[root@VM_61_158_centos fastdatav]# find . | grep yun

./services_files/yun6.html

./news_files/yun6.html

./contact_files/yun6.html

./partner_files/yun6.html

./faq_files/yun6.html

./invest_files/yun6.html

./index_files/yun6.html

[root@VM_61_158_centos fastdatav]# rm -r *yun6*

rm: cannot remove ‘*yun6*’: No such file or directory

[root@VM_61_158_centos fastdatav]# rm *yun6*

rm: cannot remove ‘*yun6*’: No such file or directory

[root@VM_61_158_centos fastdatav]# find . | grep yun | xargs rm -f

[root@VM_61_158_centos fastdatav]# find . | grep yun

[root@VM_61_158_centos fastdatav]# find . | grep yun | xargs rm -f