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