1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 16:35:44 +02:00

yaa: add page (#4385)

This commit is contained in:
Owen Voke 2020-10-01 19:29:13 +01:00 committed by GitHub
parent dfc79a1c6d
commit 78f7752964
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
pages/osx/yaa.md Normal file
View file

@ -0,0 +1,27 @@
# yaa
> Create and manipulate YAA archives.
- Create an archive from a directory:
`yaa archive -d {{path/to/directory}} -o {{path/to/output.yaa}}`
- Create an archive from a file:
`yaa archive -i {{path/to/file}} -o {{path/to/output.yaa}}`
- Extract an archive to the current directory:
`yaa extract -i {{path/to/archive.yaa}}`
- List the contents of an archive:
`yaa list -i {{path/to/archive.yaa}}`
- Create an archive with a specific compression algorithm:
`yaa archive -a {{algorithm}} -d {{path/to/directory}} -o {{path/to/output.yaa}}`
- Create an archive with an 8MB block size:
`yaa archive -b {{8m}} -d {{path/to/directory}} -o {{path/to/output.yaa}}`