[Linux] Archive cmds & tools

Some cmds to zipped files:

.tar(Package only, no compression)

redfish@debian [~] $ tar cvf FileName.tar DirName
redfish@debian [~] $ tar xvf FileName.tar DirName

.tar.bz2 / .tar.gz /

redfish@debian [~] $ tar zcvf FileName.tar.gz DirName
redfish@debian [~] $ tar zxvf FileName.tar.gz

.ZIP

redfish@debian [~] $ zip FileName.zip DirName
redfish@debian [~] $ unzip FileName.zip

 

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