2016-01-05 01:02:34 +00:00
|
|
|
# 7za
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> A file archiver with high compression ratio.
|
2016-02-22 21:48:56 +00:00
|
|
|
> A standalone version of `7z` with support for fewer archive types.
|
2016-01-05 01:02:34 +00:00
|
|
|
|
2016-02-23 00:51:52 +00:00
|
|
|
- Archive a file or folder:
|
2016-01-05 01:02:34 +00:00
|
|
|
|
2016-08-18 10:50:36 +01:00
|
|
|
`7za a {{archived.7z}} {{path/to/file}}`
|
2016-01-05 01:02:34 +00:00
|
|
|
|
2016-02-23 00:51:52 +00:00
|
|
|
- Extract an existing 7z file with original directory structure:
|
2016-01-05 01:02:34 +00:00
|
|
|
|
2016-08-18 10:50:36 +01:00
|
|
|
`7za x {{archived}}`
|
2016-01-05 01:02:34 +00:00
|
|
|
|
2016-02-23 00:51:52 +00:00
|
|
|
- Archive using a specific archive type:
|
2016-01-05 01:02:34 +00:00
|
|
|
|
2016-08-18 10:50:36 +01:00
|
|
|
`7za a -t{{zip|gzip|bzip2|tar|...}} {{archived}} {{path/to/file}}`
|
2016-02-23 01:00:13 +00:00
|
|
|
|
|
|
|
- List available archive types:
|
|
|
|
|
|
|
|
`7za i`
|
2016-01-05 01:02:34 +00:00
|
|
|
|
2016-02-23 00:51:52 +00:00
|
|
|
- List the contents of an archive file:
|
2016-01-05 01:02:34 +00:00
|
|
|
|
2016-08-18 10:50:36 +01:00
|
|
|
`7za l {{archived}}`
|