

For testing purposes, I included 27.2MB of additional files within the same Marketing subdirectory to test compression using a larger variety of file formats, including documents, spreadsheets, photos, and PDFs.īegin by opening Terminal.

Also assume the file is located within a Documents subdirectory titled Marketing. Microsoft adds Copilot AI productivity bot to 365 suiteĦ best alternatives for 2023 (Free & Paid)įor the purpose of the following examples, assume you wish to compress a 10.1MB file titled Product Shot.jpeg. Just open Terminal, found within macOS’ Utilities subdirectory within the Applications folder, to leverage two popular commands: bzip2 and zip. MacOS possesses a number of Terminal commands to enable compressing files, thereby freeing disk space, requiring less storage capacity, and decreasing email attachment size, among other benefits. How to use the zip and bzip2 macOS file compression commandsĪ variety of Mac applications compress files, but two simple commands native to macOS fulfill the same functionality-often more quickly and for less expense.
