-
-
Save lgolubyev/a1933534ccb77d95711879adfddba16a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generates a tar archive where all the entry names are prefixed by the root directory 'SourceDirectory' | |
TarFile.CreateFromDirectory(sourceDirectoryName: "/home/dotnet/SourceDirectory/", destinationFileName: "/home/dotnet/destination.tar", includeBaseDirectory: true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment