Skip to content

Linux: Create & Extract Tar Archive Syntax

quick command to create and extract tar archive in Linux Shell:

create tar:
tar -cvf name.tar /path/to/directory

extract tar:
tar -zxvf name.tar

 

Share

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *