Articles on: Hosting

Managing Compressed Files via SSH on Thamara Cloud

When working with your Thamara Dedicated or VPS server, you can easily extract and compress files directly through SSH. Below are the basic commands for different file types.

Note: Make sure SSH access is already enabled for your account. If you haven’t set it up yet, please check our guide: “How to Get and Use SSH Access” on the Thamara Cloud Knowledge Base.**.zip Files****To extract:**unzip archive.zip_________________________________________________________________________________________________________ 
To compress:
zip -v zipfilename.zip file.ext


or:---


zip -v zipfilename.zip directory/*
 .bz2 Files****To extract: 
bunzip2 archive.bz2To compress: 
bzip2 file.ext.gz Files****To extract: 
gzip -d archive.gzTo compress: 
gzip file.ext.tar Files****To extract: 
tar -xvf archive.tarTo compress: 
tar -cvf archive.tar file1.ext file2.ext directory/.tar.bz2 Files****To extract: 
tar -xvjf archive.tar.bz2To compress: 
tar -cvjf file.tar.bz2 file1.ext file2.ext directory/.tar.gz Files****To extract: 
tar -xvzf archive.tar.gzTo compress: 
tar -cvzf file.tar.gz file1.ext file2.ext directory/Extra Tip:
These are the most common and simplified commands. You can explore advanced options using: 
man <command>Example: 
man tar
________________________________________________________________________________________________________Support Note:
Thamara Cloud provides SSH access on all Dedicated and VPS plans. However, direct command-line operations are the client’s responsibility. Our team is always happy to guide you to documentation or troubleshoot access issues.

Updated on: 07/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!