Zip a Folder in Linux command

Posted by Oklyn Sabtu, 07 Juli 2012 0 komentar
Eng Lee : I keep forgetting the command to zip a folder in Linux (Red Hat Enterprise Linux 4). And I have even got all files in the folder got zipped individually when I typed the command wrongly, which looked funny to me. The correct command, to remind myself:

Zip a Folder
zip -9 - newfile.zip foldername

To zip a single file:

zip -9
newfile.zip namefile

Use "-9" for best compression. The compressed file works fine with Windows XP compression tool.



 By: http://blog.enrii.com/2007/05/31/zip-a-folder-in-linux/
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Zip a Folder in Linux command
Ditulis oleh Oklyn
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://oklyn.blogspot.com/2012/07/zip-folder-in-linux-command.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

[ Oklyn On Blogger]