Terminal

List open files

On the Mac OS, if you need to know what files are open and by what application and on what disk, you can use the lsof command in Terminal. Pair that command with grep and you can isolate things like this: ?View Code BASHlsof | grep "Snow Leopard" This will show you what files are …

List open filesRead More »

Getting rid of build directories

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: ?View Code BASHfind . -iname "build" -type d -print -execdir rm -R ‘{}’ \;