Skip to content

Instantly share code, notes, and snippets.

Created Jun 2, 2022
What would you like to do?
// Extracts the contents of a tar archive into the specified directory, but avoids overwriting anything found inside
TarFile.ExtractToDirectory(sourceFileName: "/home/dotnet/destination.tar", destinationDirectoryName: "/home/dotnet/DestinationDirectory/", overwriteFiles: false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment