I'm making a bash file to remove all .class files that java generates inside the src folder and it's subfolders. The structure is:
project
src
/utils
utils.class
/game
game.class
gameManager.class
So when I execute the script inside the project
folder, it search all .class
files and remove them, but it doesn't work.
I just created this script:
find . -path "src/*/*" -name "*.class" -exec rm -f {} \;
How can I fix it?