Skip to content

Instantly share code, notes, and snippets.

@shavit shavit/free_space.sh
Created Dec 19, 2016

Embed
What would you like to do?
Find free space on Mac
#!/bin/sh
sudo perl -e'%h=map{/.\s/;99**(ord$&&7)-$`,$_}`du -h`;die@h{sort%h}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.