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.Begin by opening Terminal. Also assume the file is located within a Documents subdirectory titled Marketing. Zorin OS 16 is exactly what a Linux desktop distribution should beFor the purpose of the following examples, assume you wish to compress a 10.1MB file titled Product Shot.jpeg. Windowsfx is the Linux distribution Windows users have been looking for However, the same command performed on an Apple Keynote presentation reduced the file size substantially from 27.8MB to just 9.1MB following compression.To decompress bzip2 files using the macOS Terminal, use the bunzip2 command. The new resulting file was only slightly smaller at 9.8MB (vs. Note that the bzip2 command subsequently deletes the original file.Using the test photograph, bzip2 didn't provide significant compression. In this case, bzip2 creates a new file titled Product Shot.jpeg.bz2.
![]() ![]() Compress File On Windows Archive Titled PhotoThe remaining Marketing statement specifies the directory to compress.To zip a single file within a new compressed archive titled Photo.zip, such as the Product Shot.jpeg within the Marketing directory, enter the following command: zip Photo.zip "Product Shot.jpeg"Unlike many compression commands, including bzip2, the zip command does not delete the original file (or files) upon creating the new compressed archive. The command also supports compressing folders containing multiple files.The following command compresses the entire test Marketing directory described earlier: zip Marketing.zip MarketingThe zip Marketing.zip portion of the command specifies the name for the resulting archive file. The zip command is among the most frequently used for compressing files. The bunzip2 command also deletes the compressed file (Product Shot.jpeg.bz2 in this case) in the process.SEE: Apple's first employee: The remarkable odyssey of Bill Fernandez (TechRepublic) How to use the zip macOS file compression commandThe zip format (which dates to the late 1980s and is now commonly associated with Windows) is also natively supported within macOS. Mac dre do you remember the remix album torrentUsing the test photo from earlier, the corresponding command looks like this: unzip Photo.zipThe zip command subsequently unpacks the archive. Using the 27.8MB Apple Keynote presentation test file mentioned earlier, zip compressed the resulting archive file to 10.4MB.To uncompress zip files using macOS' Terminal, use the unzip command. A second test, run on the directory containing 27.2MB of photos, spreadsheets, documents, and PDF files, resulted in much more significant compression and an archive just 16.1MB in size. Just be sure to double-check the archive to confirm the required files are present within the package.Using zip, the 10.1MB photo was compressed only slightly, resulting in a 9.9MB archive.
0 Comments
Leave a Reply. |
AuthorHannah ArchivesCategories |