Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste Überarbeitung Beide Seiten der Revision | ||
7z [2012/12/22 14:21] admin |
7z [2012/12/22 14:29] admin |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== 7-Zip ====== | ====== 7-Zip ====== | ||
- | Add files: | + | === Add files === |
7z a -t7z archive.7z *.txt | 7z a -t7z archive.7z *.txt | ||
- | + | === Delete files === | |
- | Delete files: | + | |
7z d archive.7z *.bak -r | 7z d archive.7z *.bak -r | ||
- | Extract files: | + | === Extract files === |
7z e archive.7z | 7z e archive.7z | ||
- | Extract files - preserves the full paths: | + | === Extract files - preserves the full paths === |
7z x archive.7z | 7z x archive.7z | ||
- | List files: | + | === List files === |
7z l archive.7z | 7z l archive.7z | ||
- | Update files: | + | === Update files === |
7z u archive.7z *.txt | 7z u archive.7z *.txt | ||
- | Switch t type | + | === Extract to destination directory === |
+ | 7z x archive.7z -o/tmp | ||
+ | |||
+ | === Switch t type=== | ||
Here I show how you can specify the precise archive type you want to create. Note that you can specify any filename you want for any type. But some extensions are recommended. | Here I show how you can specify the precise archive type you want to create. Note that you can specify any filename you want for any type. But some extensions are recommended. | ||
- | Switch -t7z: Format: 7Z | + | **Switch -t7z:**\\ Format: 7Z\\ |
Example filename: archive.7z (default option) | Example filename: archive.7z (default option) | ||
- | Switch -tgzip: Format: GZIP | + | **Switch -tgzip:**\\ Format: GZIP\\ |
Example filenames: archive.gzip, archive.gz | Example filenames: archive.gzip, archive.gz | ||
- | Switch -tzip: Format: ZIP | + | **Switch -tzip**:\\ Format: ZIP\\ |
Example filename: archive.zip (compatible) | Example filename: archive.zip (compatible) | ||
- | Switch -tbzip2: Format: BZIP2 | + | **Switch -tbzip2:**\\ Format: BZIP2\\ |
Example filename: archive.bzip2 | Example filename: archive.bzip2 | ||
- | Switch -ttar: Format: TAR | + | **Switch -ttar:**\\ Format: TAR\\ |
Example filename: tarball.tar (UNIX and Linux) | Example filename: tarball.tar (UNIX and Linux) | ||
- | Switch -tiso: Format: ISO | + | **Switch -tiso:**\\ Format: ISO\\ |
Example filename: image.iso | Example filename: image.iso | ||
- | Switch -tudf: Format: UDF | + | **Switch -tudf:**\\ Format: UDF\\ |
Example filename: disk.udf | Example filename: disk.udf | ||
| |