Loading...

Knowledge Base

How to Compress Files into a GZip Archive Using File Manager

Learn the essentials of file management with our guide on using File Manager. Compress files into a GZip archive with File Manager. Apart from that, if you want to learn more about certain topics, as this is part of our File Manager tutorial series, please click on the Related Articles link below to learn more.

What Is GZip Compression

A compressed file (archive) is a file that contains several other files or folders which have been written in a format that takes up less space. This is helpful when you want to back files or folders up to a local machine. GZip is an application for compressing files on Linux systems. GZip is already implemented on our servers and will allow you to compress and extract files from the file manager. This is not the same as mod_gzip.

Compressing Files into an Archive using GZip

  1. Log in to your Bluehost Account Manager.
  2. Click on the Hosting tab in the side navigation menu on the left, and then click on File Manager.

Once you're in cPanel:

  1. Navigate to the folder which contains the files or folders you want to compress.
  2. Select the files or folders you want to compress.
  3. Hold control to select multiple items or hold shift to select a group of items.
  4. With the appropriate files and folders selected (usually highlighted in blue), click the Compress icon from the top-left toolbar.
    rock-compress-files
  5. Alternatively, you can right-click on the selected files and click on Compress from the drop-down menu as pictured above.
  6. A dialogue box will appear asking which compress type you prefer.
    rock-gzip
  7. After choosing your preferred compression, scroll down, and you will see a field indicating the location path of the file. It's better if you keep the file in the public_html directory but change the file name. (The word after the last forward slash /.)
    rock-compressing-files
  8. Click the Compress File(s) button.
  9. This is what you will see while the compression is in progress.
    creating-archive
  10. And here's what it will look like once done. 
    compression-results

Note: We recommend using GZip as it has the best data compression ratio and compression times.

You will now have a GZip(.gz), Zip(.zip), or Bzip2(.bz2) compressed file of the items you selected. For more information on how to extract this or other compressed files, please see our Extracting Files from an Archive article.

Important: For more information on compressing and extracting files through CLI (Command-Line Interface) instead of the File Manager, please see our Compress/Decompress files via CLI (Command-Line Interface) article.

Summary

To compress files into a GZip archive in File Manager, log in to your account, open File Manager, and go to the folder with the files you want to compress. Select the files, click the Compress icon or right-click and select Compress. Choose GZip, name your file, and place it in the public_html directory. Click Compress File(s) to create a .gz archive. This method saves space and organizes files efficiently.

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Did you find this article helpful?

 
* Your feedback is too short

Loading...