2020-10-01 19:29:13 +01:00
|
|
|
# yaa
|
|
|
|
|
|
|
|
> Create and manipulate YAA archives.
|
2024-01-31 10:20:27 +00:00
|
|
|
> More information: <https://keith.github.io/xcode-man-pages/yaa.1.html>.
|
2020-10-01 19:29:13 +01:00
|
|
|
|
|
|
|
- Create an archive from a directory:
|
|
|
|
|
2023-02-20 07:05:58 +00:00
|
|
|
`yaa archive -d {{path/to/directory}} -o {{path/to/output_file.yaa}}`
|
2020-10-01 19:29:13 +01:00
|
|
|
|
|
|
|
- Create an archive from a file:
|
|
|
|
|
2023-02-20 07:05:58 +00:00
|
|
|
`yaa archive -i {{path/to/file}} -o {{path/to/output_file.yaa}}`
|
2020-10-01 19:29:13 +01:00
|
|
|
|
|
|
|
- Extract an archive to the current directory:
|
|
|
|
|
2023-02-20 07:05:58 +00:00
|
|
|
`yaa extract -i {{path/to/archive_file.yaa}}`
|
2020-10-01 19:29:13 +01:00
|
|
|
|
|
|
|
- List the contents of an archive:
|
|
|
|
|
2023-02-20 07:05:58 +00:00
|
|
|
`yaa list -i {{path/to/archive_file.yaa}}`
|
2020-10-01 19:29:13 +01:00
|
|
|
|
|
|
|
- Create an archive with a specific compression algorithm:
|
|
|
|
|
2023-02-20 07:05:58 +00:00
|
|
|
`yaa archive -a {{algorithm}} -d {{path/to/directory}} -o {{path/to/output_file.yaa}}`
|
2020-10-01 19:29:13 +01:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Create an archive with an 8 MB block size:
|
2020-10-01 19:29:13 +01:00
|
|
|
|
2023-02-20 07:05:58 +00:00
|
|
|
`yaa archive -b {{8m}} -d {{path/to/directory}} -o {{path/to/output_file.yaa}}`
|