Unzip

Kalau di Windows kita mengenal program semacam WinZip atau 7-Zip, Ubuntu juga punya program serupa, namanya unzip. Bedanya, unzip ini gratis dan mesti dijalankan lewat terminal aka konsol.

Unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. The default behavior (with no options) is to extract into the current directory (and subdirectories below it) all files from the specified ZIP archive.
unzip manual page

Instalasi

sudo apt-get install unzip

Penggunaan

Format:

unzip file.zip -d destination-folder

Mengurai file tunggal

Mengurai file file.zip ke dalam folder myfolder

unzip file.zip -d myfolder

Folder myfolder tak perlu dibuat terlebih dahulu, sebab akan dibuat secara otomatis saat perintah unzip -d dijalankan.

Mengurai semua file

Mengurai semua file .zip ke dalam folder myfolder

unzip '*.zip' -d myfolder

Selamat mencoba, semoga bermanfaat.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s