#HOW TO MAKE MAC OS ZIP IN GZ ZIP FILE#
zip file decompression: unzip archive-name.zip In order to compress a directory, use this syntax: zip -r filename.zip foldername/ Here’s how you create an archive in this format: zip archive-name.zip your-file.php your-file.php your-file.php zip files, we’ll be using the zip command instead of tar. You can extract the previous archive by typing this command: tar -xvf archive-name.tar.tar archives is as follows: tar -zcf archive-name.tar your-file.php your-file.php your-file.htmlĮnter the following line to move the whole directory to a. Also, you are not limited to file formats that are used in this example. If you intend to compress an entire directory, use the following method.Don’t forget to replace “ archive-name” and “ your-file” with your actual file names and directories. tar.gz archive: tar -czvf your-file.text your-file.php your-file.html You can use the command below to compress several files into a.We will cover the compression and extraction method of popular archive formats, including.
#HOW TO MAKE MAC OS ZIP IN GZ HOW TO#
How to Compress and Extract Different Archive Formats Without further delay, let’s learn how to zip and unzip via SSH. You don’t know how to establish the connection? Our SSH tutorial can help you. If you’re a VPS owner at Hostinger, you can get the login credential in the Servers tab of the hPanel. This process requires you to use an SSH client - like PuTTY (Windows) or terminal shell (macOS & Linux) - to access your server. To perform these actions, you need to run a specific command through the SSH (Secure Shell) protocol on your server. Zipping and unzipping files make it easy for you to download and move data around. The Archive Utility automatically opens compressed files, including those in the ZIP, BZ, GZ. You may need to do the same things on your VPS. To open a compressed ZIP file on your Mac, simply double-click it. Zip and Unzip via SSH: Everything You Need to KnowĬompressing and extracting files is not only common on desktop computers. You will learn about the compression and extraction methods on your server for better archive management. In this article, we are going to show you how to zip and unzip via SSH. Download Ultimate SSH Commands Cheat Sheet