Examples (6)
Create an archive from a directory
yaa archive -d path/to/directory -o path/to/output_file.yaaCreate an archive from a file
yaa archive -i path/to/file -o path/to/output_file.yaaExtract an archive to the current directory
yaa extract -i path/to/archive_file.yaaList the contents of an archive
yaa list -i path/to/archive_file.yaaCreate an archive with a specific compression algorithm
yaa archive -a algorithm -d path/to/directory -o path/to/output_file.yaaCreate an archive with an 8 MB block size
yaa archive -b 8m -d path/to/directory -o path/to/output_file.yaamade by @shridhargupta | data from tldr-pages