Created
August 27, 2020 21:02
-
-
Save lg3bass/429fea9288c06471131d4a058cea1393 to your computer and use it in GitHub Desktop.
get directory size | archive files and folders on a mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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