Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

tar extract

# 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
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #tar #extract
ADD COMMENT
Topic
Name
4+6 =