Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
get directory size | archive files and folders on a mac
//zip -r -s MaximumSize FolderName/
zip -r -s 1g usheproduction-pearsoned-com
//Added Bonus: Get directory size and sort
du -sh * | sort -rh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment