This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.7zip.
Summary
Gets or sets the list of files this command operates on.
These are single files. (I.e. to add to, or to remove from the archive).
For add and update, single files from the file-system will always be placed directly into the archive without any directory-structure.
Setting Files like this in add/update:Files = new[] {
new FilePath("C:\\some\\place\\a.txt"),
new FilePath("C:\\some\\other\\place\\b.txt"),
new FilePath("C:\\a\\totally\\different\\place\\c.txt")
};
Will result in an archive:
Archive.zip
- a.txt
- b.txt
- c.txt
without any directory structure.
- Assembly
- Cake
.7zip .dll - Namespace
- Cake
.SevenZip .Commands - Containing Type
- Base
Add Like Syntax Command
Syntax
public FilePathCollection Files { get; set; }
Value
Type | Description |
---|---|
FilePathCollection | The archive. |