I wanted to get rid of the “build” directories in my source folders before prepping my source folders for git, so I used the following command to get rid of them:

find . -iname "build" -type d -print -execdir rm -R '{}' \;

2 Comments

    1. Thanks for the comment.

      Luckily for me, working on experimental stuff means I don’t have to worry about messing up important files and I actually learn something along the way.

Leave a Reply

Your email address will not be published. Required fields are marked *