1.find /oldboy/ -type f -name "*.txt" -delete
2.find /oldboy/ -type f -name "*.txt" -exec rm -f {} ;
3.find /oldboy/ -type f -name "*.txt" | xargs rm-f;
4.rm -rf$(find /oldboy/ -type f -name "*.txt" );
1.find /oldboy/ -type f -name "*.txt" -delete
2.find /oldboy/ -type f -name "*.txt" -exec rm -f {} ;
3.find /oldboy/ -type f -name "*.txt" | xargs rm-f;
4.rm -rf$(find /oldboy/ -type f -name "*.txt" );