Friday, February 19, 2016

How to compress files and folders on Lubuntu

There are so many compression format (archive format) available on lubuntu/ubuntu (and linux in general), such as tar, tar.gz, bz2, zip, 7z, lzma, etc, in this article i'm going to show you how to compress files and folders on lubuntu.

First of all, why you need to compress files? because when you compress files you can get smaller file size, plus if you put it on a folder, you can have many files inside one compressed file, that's very important if you want to send those files to someone else.

Alright, let's get started, to compress files or folders on lubuntu is actually very easy to do, we can do it using graphical interface (GUI), by simply right click on the file/folder that you want and then select the 'Compress...' option.

Noticed, you got so many choice for compression format, here's the list:
  1. 7z
  2. ar
  3. bz2
  4. cbz
  5. cpio
  6. ear
  7. gz
  8. iso
  9. jar
  10. lzma
  11. tar
  12. tar.Z
  13. tar.bz2
  14. tar.gz
  15. tar.lz
  16. tar.lzma
  17. tar.lzo
  18. tar.xz
  19. .war
  20. .xz
  21. .zip
Choose the one that you like and then hit the 'Create' button to start the compression, some format such as zip, war, ear, and cbz have ability to put password, so you can put password if you want.

Of course, if you prefer to do it using command line, you can do that also, well maybe not for all format, but definitely you can do that.

You can read my other articles if you want to compress files/folders using command line: