Summary
Extracts the specified tar archives.
Syntax
[CakeMethodAlias]
public static void Untar(this ICakeContext context, IEnumerable<string> archiveFiles, DirectoryPath outputPath, UntarSettings settings)
Examples
Untar(new[] { "a.tar", "b.tar.gz" }, "./dependencies", new UntarSettings {
SkipUnchangedFiles = true,
OverwriteReadOnlyFiles = false
});
Attributes
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| archiveFiles |
IEnumerable<string> |
The archive files to extract. |
| outputPath |
DirectoryPath |
The output path to extract into. |
| settings |
UntarSettings |
The settings. |
Return Value