Skip to content

Instantly share code, notes, and snippets.

View theocalmes's full-sized avatar

Theodore Calmes theocalmes

View GitHub Profile
@brunogama
brunogama / clean_ios_simulator
Created February 9, 2014 13:38
it will clean *ALL* the apps in the iOS Simulator.
#!/usr/bin/env bash
# clean_ios_simulator
# Author: Bruno Gama
pkill -9 -fi simulator 2>/dev/null
_WD="$HOME/Library/Application Support/iPhone Simulator"
find "$_WD" -iname "*.app" | while read l; do
f=$(dirname "$l")
rm -rf "$f"
unset f