Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get directory size | archive files and folders on a mac
//how-to-create-a-split-zipped-archive-from-mac-os-x-terminal
//source:
//https://www.addictivetips.com/mac-os/how-to-create-a-split-zipped-archive-from-mac-os-x-terminal/
//zip -r -s MaximumSize ArchiveName.zip FolderName/
zip -r -s 1g usheproduction-pearsoned-com 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