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 linux command

tar -czvf projects.tar.gz projects/
Comment

linux tar 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 :: how to upgrade gradle version in linux 
Shell :: my terminator does not working properly 
Shell :: configure: error: --with-openssl was given but OpenSSL could not be detected 
Shell :: the ycmd server install 
Shell :: ubuntu theme change command 
Shell :: how to reset git branch to a certain commit. 
Shell :: check file path linux 
Shell :: powershell ssh with password 
Shell :: redis ubuntu install 
Shell :: docker compose keep container open 
Shell :: install radium 
Shell :: undo last commit pushed 
Shell :: pip info package location 
Shell :: install h5py in jetson nano 
Shell :: windows command to grant permission to a directory 
Shell :: how to install .whl file in windows 10 
Shell :: node install specific version 
Shell :: c# dotnet install Microsoft.Office.Interop.Excel 
Shell :: bash keyboard shortcuts 
Shell :: how set php version for composer in ubuntu 
Shell :: grub download 
Shell :: ubuntu iso 
Shell :: git delete last commit 
Shell :: powershell redirect output to null 
Shell :: how to undo local commit git 
Shell :: how to find all the execution policies 
Shell :: job name getprojectmetadata does not exist 
Shell :: linux how to find files with broken link 
Shell :: compiling c 
Shell :: kill docker 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =