'Declaration Public Overloads Shared Sub Untar( _ ByVal tarFileName As String, _ ByVal destinationFolder As String, _ ByVal isTarCompressed As Boolean, _ ByVal ParamArray filesToUntar() As String _ )
'Usage Dim tarFileName As String Dim destinationFolder As String Dim isTarCompressed As Boolean Dim filesToUntar() As String QuickTar.Untar(tarFileName, destinationFolder, isTarCompressed, filesToUntar)
public static void Untar( string tarFileName, string destinationFolder, bool isTarCompressed, params string[] filesToUntar )
Parameters
- tarFileName
- The full path of the Tar archive. Cannot be empty.
- destinationFolder
- The path to the destination folder in which to untar all items. Cannot be empty.
- isTarCompressed
- Boolean value indicating if the tar file was compressed using GZip. Note: The GZip file retrieved must have the following format: tarFileName.gz. An exception is thrown if the Tar archive is not compressed.
- filesToUntar
- The list of file paths to get from the Tar archive. Cannot be null.