If you wanna delete all files with specific word, you can use the following command.
find . -name '*car*' -exec rm -f {} \;
or pass the output of your pipeline to xargs:
find | grep car | xargs rm -f
FYI:
If you wanna delete all files with specific word, you can use the following command.
find . -name '*car*' -exec rm -f {} \;
or pass the output of your pipeline to xargs:
find | grep car | xargs rm -f
FYI: