“Teerkommando” Code-Antworten

Teerkommando

# Create (-c) and file (-f) file1 and file2 into "archive.tar"
tar -cf archive.tar file1 file2 
# Extract archived.tar into its content files into current directory
tar -xf archive.tar
# Extract archived.tar into its content files into given directory
tar -xf archive.tar -C given/directory
# List files in archive.tar
tar -tv archive.tar
Armandres

wie man Linux tar linux

tar -zcvf file.tar.gz /path/to/dir/
sevenm

Teerkommando

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

#-c: Create an archive.
#-z: Compress the archive with gzip.
#-v: Display progress in the terminal while creating the archive, also known as “verbose” mode. The v is always optional in these commands, but it’s helpful.
#-f: Allows you to specify the filename of the archive.
#-x : Extract the archive 
#-t : displays or lists files in archived file 
#-u : archives and adds to an existing archive file 
#-A : Concatenates the archive files  
#-j : filter archive tar file using tbzip 
#-W : Verify a archive file 
#-r : update or add file or directory in already existed .tar file 
Change The Mentality

Ähnliche Antworten wie “Teerkommando”

Fragen ähnlich wie “Teerkommando”

Weitere verwandte Antworten zu “Teerkommando” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen