• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Zipping file in Linux Distributions using Zip utilities and Compression Levels

ashutoshjain

New Member
Joined
Oct 14, 2020
Messages
3
Reaction score
1
Credits
27
Creating a zip file is not that tricky. There are two methods to do that; Graphical and Command-line based, but if you want a much optimal file that is less in size and properly compressed then you must use the compression levels from (1-9)

To zip a file with compression you can use the following command -
$ zip -1 desktop.zip Desktop /* Fast compression & Less Optimal file */

you can input range from 1-9 where 1 is fast compression but less optimal file while value 9 signifies slower compression but much optimal file.

Check if this work for you, I have read a complete article on this on how to zip a folder in Linux.

If there are any problems, do reply and I will try solving them in this thread.
 


It's probably a good idea to disclose that. I'm *not* a mod, just a user. I suspect folks will be happier if you disclose it when you're affiliated with the links.
 
It's probably a good idea to disclose that. I'm *not* a mod, just a user. I suspect folks will be happier if you disclose it when you're affiliated with the links.
That’s thoughtful.. I will mention this next time whenever I contribute or write another article. Thanks
 


Top