2
0

Can someone help me to pack files in Linux terminal?

  • You must to post comments
2
0

Packing files:
zip -r targetfile sourcedirectory
tar cvzf targetfile.tar.gz sourcedirectory
bzip2 sourcefile
rar a targetfile.rar sourcedirectory

Unpacking files:
unzip archive.zip
tar xvzf archive.tar.gz
tar xvf archive.tar
bunzip2 archive.bz2
unrar x archive.rar

Before you will use zip/rar/unrar don’t forget to install it.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.