Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:linux:archive [2023/11/25 22:03] – Automatic translation 47.128.37.114en:linux:archive [2024/12/06 11:00] (current) – removed psycore
Line 1: Line 1:
-{{page>vorlagen:ausbau}} 
-====== Archives under Linux ====== 
  
-The most common archives under Linux and their command line are documented and presented here. Please provide a link to all references to Wikipedia. 
- 
-===== Extension: "tar" ===== 
- 
-Archive format: [[wpde>tar]] 
- 
-Unpack: 
-<code bash>tar xfv [ARCHIVNAME].tar</code> 
- 
-Packing: 
-<code bash>tar cfv [ARCHIVNAME].tar [VERZEICHNIS1] [VERZEICHNIS2] [DATEI1] [DATEI2]</code> 
- 
-List: 
-<code bash>tar tfv [ARCHIVNAME].tar</code> 
- 
-===== Ending: "gz" ===== 
- 
-Archive format: [[wpde>gzip]] 
- 
-Pack: 
-<code bash>tar cfvz [ARCHIV].tar.gz [VERZEICHNIS1] [DATEI1]</code> 
- 
-Unpacking: 
-<code bash>tar xfvz [ARCHIV].tar.gz</code> 
- 
-===== Extension: "bz2" ===== 
- 
-Archive format: [[wpde>bzip2]] 
- 
-Pack: 
-<code bash>tar cfvj [ARCHIV].tar.bz2 [VERZEICHNIS1] [DATEI1]</code> 
- 
-Unpacking: 
-<code bash>tar xfvj [ARCHIV].tar.bz2</code> 
- 
-===== Extension: "zip" ===== 
- 
-Archive format: [[wpde>ZIP_(Dateiformat)|zip]] 
- 
-Packing: 
-<code bash>zip [ARCHIV].zip [DATEI1] [DATEI2]</code> 
- 
-Packing a directory: 
-<code bash>zip -r [ARCHIV].zip [VERZEICHNIS1] [VERZEICHNIS2]</code> 
- 
-Unpacking: 
-<code bash>unzip [ARCHIV].zip</code> 
- 
-Unpack into directory and overwrite: 
-<code=bash>unzip -o [ARCHIV].zip -d dir/</code>