This content has 4 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.

Open a terminal where your source codes are stored, and give out the following command:

sudo find . -iname "bin" -o -iname "obj" | xargs rm -rf

Type your superuser password when the terminal prompts it. This will clean up some hard disk space for you.