Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

unzip tar.gz

tar -xvf file.tar.gz
Comment

tar gz compress extract

# compress
tar -czvf projects.tar.gz projects/
# extract
tar -xzvf projects.tar.gz

-c, --create
      create a new archive
-x, --extract, --get
      extract files from an archive
-z, --gzip, --gunzip --ungzip
-v, --verbose
      verbosely list files processed
-f, --file ARCHIVE
      use archive file or device ARCHIVE

tar [-] A --catenate --concatenate | c --create | d --diff --compare | --delete | r --append | t --list |
    --test-label | u --update | x --extract --get [options] [pathname ...]
Comment

linux unpack tar.gz file

tar -zxvf file_name.tar.gz
Comment

untar tar.gz

tar -xzf file.tar.gz
Comment

tar extract gz

# 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
Comment

unzip a tar.gz file in linux

tar -xvzf community_images.tar.gz
Comment

extract from tar gz into folder

mkdir foo
tar -xzf bar.tar.gz -C foo
Comment

tar.gz extract

tar -xf archive.tar.gz
Comment

unrachive .tar.gz



tar -xvzf community_images.tar.gz
Also, to extract in a specific directory

for eg. to extract the archive into a custom my_images directory .

tar -xvzf community_images.tar.gz -C my_images
Comment

linux extract tar.gz

tar –xvzf documents.tar.gz
Comment

how to unzip tar.gz file

tar -xvf archive.tar.gz
or
tar -xf archive.tar.gz -C /home/linuxize/files
Comment

extract tar.gz

tar -xf archive.tar.gz
Comment

extract tar.gz

 tar -zxvf {file.tar.gz}
Comment

tar.gz extract

tar -xf archive.tar.gz -C /home/linuxize/files
Comment

tar.gz

tar -xvzf community_images.tar.gz
Comment

extract tar gz file windows

tar -xvzf C:PATHTOFILEFILE-NAME.tar.gz -C C:PATHTOFOLDEREXTRACTION
Comment

extract tar gz

tar xvzf file.tar.gz
Comment

extracting tar.gz

tar –xvf documents.tar
Comment

PREVIOUS NEXT
Code Example
Shell :: how to run r in docker 
Shell :: shell substring last characters 
Shell :: bash setting home 
Shell :: powershell create new file and open 
Shell :: how to save ssh keygen How to add ssh keys to a specific user in linux? 
Shell :: docker-proxy port 80 
Shell :: relead ngix 
Shell :: install docker on server 
Shell :: how to compress files in powershell 
Shell :: Best way to change the file extension in powershell 
Shell :: add unity project to github 
Shell :: basename bash 
Shell :: Do you need to install EsLint after intalling the extension 
Shell :: find powershell psreadline history path 
Shell :: how to overwrite main branch git 
Shell :: chrome extension to safari extension 
Shell :: linux change directory 
Shell :: ros installation 
Shell :: install font in react native 
Shell :: git update from another branch 
Shell :: magento ssh commands 
Shell :: git bring back deleted branch from local 
Shell :: git add an entire folder to commit 
Shell :: how to remove docker image 
Shell :: To add repo from github in linux 
Shell :: phoenix liveview setup 
Shell :: how to edit a file in terminal windows 
Shell :: Concatenating Strings in Bash 
Shell :: how to get list folder in cmd to value 
Shell :: ubuntu adding a monitor 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =