Cake.SevenZip.Commands Namespace

Class Types

Class Summary
AddCommand Adds files to archive. (Command: a).

The builder is AddCommandBuilder.

BaseAddLikeSyntaxCommand BaseClass for add,update,delete.
BaseCommand BaseClass for Commands.
BaseOutputCommand<T> base for all commands that have output. (E.g. InformationCommand).
BenchmarkCommand Measures speed of the CPU. Benchmark execution also can be used to check RAM for errors. (Command: b).

The builder is BenchmarkCommandBuilder.

DeleteCommand Deletes files from the archive. (Command: d).

The builder is DeleteCommandBuilder.

ExtractCommand Extract files from archive - with or without full path (Commands: e and x).

With UseFullPath set to false, this represents the e-command: Extracts files from an archive to the current directory or to the output directory. The output directory can be specified by -o (Set Output Directory) switch. This command copies all extracted files to one directory.

With UseFullPath set to true, this represents the x-command: Extracts files from an archive with their full paths in the current directory, or in an output directory if specified.

The builder is ExtractCommandBuilder.

HashCommand Calculates the hash for one or more files (Command: h).

The builder is HashCommandBuilder.

InformationCommand Show information about supported formats (Command: i).

The builder is InformationCommandBuilder.

ListCommand Show List about supported formats (Command: i).

The builder is ListCommandBuilder.

RenameCommand Show Rename about supported formats (Command: rn).

The builder is RenameCommandBuilder.

TestCommand Test one or more archives (Command: t).

The builder is TestCommandBuilder.

UpdateCommand Update older files in the archive and add files that are not already in the archive. (Command: u) Note: the updating of solid .7z archives can be slow, since it can require some re-compression.

The builder is UpdateCommandBuilder.

Interface Types

Interface Summary
ICommand Interface for all commands. (E.g. AddCommand).