tar -xvf file.tar
# compress
tar czvf < archive_name >.tar.gz < path >
# extract
tar xzvf < archive_name >.tar.gz
tar xzvf < archive_name >.tar.gz -C /home/usera/tmp
//for windows
tar xvf <.tar file>
tar xzvf <.tar.gz file>
tar xjvf <.tar.bz2 file>
tar -xzvf {namafile}.tar.gz -C {nama folder}
# Extract
# -> filename.tar.gz, filename.tgz
username@computer:~$ tar -xzvf filename.tgz -C /home/username/directory
# -> filename.tar.bz2, filename.tbz
username@computer:~$ tar -jxvf filename.bz2 -C /home/username/directory
tar -xf archive.tar.bz2 -C /home/linuxize/filesCopy
tar -xvf bash.html_node.tar.gz --one-top-level
tar -xf filename
sudo wget -c "$tarDownloadLink" -O - | sudo tar -xz -C ./where-to-extract