Linux Bash Shell: how to remove files recursively

Enter in folder where you want to delete files and run this command:

find . -name "file.txt" -print0 | xargs -0 rm -rf
Blog Comments powered by Disqus.