Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

tar gzip compression level

# create
tar -czvf projects.tar.gz projects/
# create with best compression level
# without '-z' becouse of the use of '-I'
tar -I 'gzip -9' -cvf projects.tar.gz projects/
# extract
tar -xzvf projects.tar.gz

-c, --create
      create a new archive
-I, --use-compress-program PROG
      filter through PROG (must accept -d)
-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

PREVIOUS NEXT
Code Example
Shell :: create a new repository on the command line on GitHub 
Shell :: shell/bash 
Shell :: undo commit after push 
Shell :: windows shell 
Shell :: set up jdk and maven on wsl 
Shell :: how to login as root user in kubernetes pod 
Shell :: show output after a keyword in shell script in a file 
Shell :: gsed comand store file 
Shell :: viewing ubuntu desktop from windows in the same network 
Shell :: sed replace 
Shell :: aws secrets manager get password 
Shell :: get all changes on commit name 
Shell :: linux which command 
Shell :: how delete branch from specific origin 
Shell :: apk remove package 
Shell :: ssh key exchange 
Shell :: how to assign more than one ip address in linux 
Shell :: chakraUI 
Shell :: where do i keep ssl cert for ubuntu 
Shell :: installer-snap change in progress 
Shell :: bash echo each line 
Shell :: rman commands 
Shell :: docker-proxy port 80 
Shell :: archive file 
Shell :: copy file from ssh to local windows 
Shell :: install deno 
Shell :: how to save powershell config 
Shell :: how to get specific lines of shell output 
Shell :: bash script template linux 
Shell :: clear git bash window 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =