Summary
Creates a tar archive from the specified files.
- Namespace
- Cake
.Common .IO - Containing Type
- TarArchiver
Syntax
public void Tar(DirectoryPath rootPath, FilePath outputPath, IEnumerable<FilePath> filePaths, TarSettings settings = null)
Parameters
| Name | Type | Description |
|---|---|---|
| rootPath | DirectoryPath | The root path. |
| outputPath | FilePath | The output path. |
| filePaths | IEnumerable |
The files to archive. |
| settings | TarSettings | The settings. |
Return Value
| Type | Description |
|---|---|
| void |
