Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

tar gz

# 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

tar.gz terminal

tar -xzvf archive.tar.gz
Comment

tar gz linux command

tar -czvf projects.tar.gz projects/
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

Creating tar.gz

tar cfz <Required tarball name> <File names>
Comment

tar.gz

tar -xvzf community_images.tar.gz
Comment

make tar.gz

tar -czvf projects.tar.gz $HOME/projects/
Comment

Linux tar.gz

tar -xzf archive-name.tar.gz
cd archive-name
./configure
make
sudo make install
Comment

PREVIOUS NEXT
Code Example
Shell :: reload shell command 
Shell :: linux unpack tar.gz file 
Shell :: Show a Wi-Fi password with Terminal 
Shell :: git tree 
Shell :: docker log tail 
Shell :: command separate words into lines 
Shell :: cuda visible devices 
Shell :: change github remote repo 
Shell :: uninstall gns3 ubuntu 
Shell :: linux open file explorer from terminal 
Shell :: set global node version using nvm 
Shell :: bash print environment variables 
Shell :: where is my .git config mac 
Shell :: Consider using absolute ordering 
Shell :: suid privilege escalation systemctl 
Shell :: convert pem to private key openssl 
Shell :: bash for loop one line 
Shell :: how to find distro name 
Shell :: force delete folder 
Shell :: nginx install centos7 
Shell :: notepad++ kali 
Shell :: install geth in ubuntu 
Shell :: how to install davinci resolve on ubuntu 
Shell :: kill port windows 
Shell :: check storage in ubuntu terminal 
Shell :: github workflow bash argument variable 
Shell :: Dominic Fike - 3 Nights magnum pi 
Shell :: command to upgrade upgradable packages on Ubuntu 
Shell :: delete non empty directory 
Shell :: return to bash from zsh 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =