HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

yaa — Create and manipulate YAA archives. More information: <https://www.manpagez.com/man/1/yaa/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandandmanipulatecliyaaarchives
macos

Problem

How to use the yaa command: Create and manipulate YAA archives. More information: <https://www.manpagez.com/man/1/yaa/>.

Solution

yaa — Create and manipulate YAA archives. More information: <https://www.manpagez.com/man/1/yaa/>.

Create an archive from a directory:
yaa archive -d {{path/to/directory}} -o {{path/to/output_file.yaa}}


Create an archive from a file:
yaa archive -i {{path/to/file}} -o {{path/to/output_file.yaa}}


Extract an archive to the current directory:
yaa extract -i {{path/to/archive_file.yaa}}


List the contents of an archive:
yaa list -i {{path/to/archive_file.yaa}}


Create an archive with a specific compression algorithm:
yaa archive -a {{algorithm}} -d {{path/to/directory}} -o {{path/to/output_file.yaa}}


Create an archive with an 8 MB block size:
yaa archive -b 8m -d {{path/to/directory}} -o {{path/to/output_file.yaa}}

Code Snippets

Create an archive from a directory

yaa archive -d {{path/to/directory}} -o {{path/to/output_file.yaa}}

Create an archive from a file

yaa archive -i {{path/to/file}} -o {{path/to/output_file.yaa}}

Extract an archive to the current directory

yaa extract -i {{path/to/archive_file.yaa}}

List the contents of an archive

yaa list -i {{path/to/archive_file.yaa}}

Create an archive with a specific compression algorithm

yaa archive -a {{algorithm}} -d {{path/to/directory}} -o {{path/to/output_file.yaa}}

Context

tldr-pages: osx/yaa

Revisions (0)

No revisions yet.