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