How to create a tar.gz file from the Windows 10 Pro command prompt
assumption
7-Zip must be installed.
The path must be passed through to the installation location (usually C:\Program Files\7-Zip).
tar.gz creation
Create a tar and then archive to tar.gz.
c:\>7z.exe a compression.tar // Directory 1 to be compressed Directory 2 to be compressed c:\>7z.exe a compression.tar.gz compression.tar
If there are multiple directories to be compressed, specify multiple files separated by one-byte spaces.
This completes the creation of the tar.gz file. tar.gz files are garbage and should be deleted.
![株式会社CONFRAGE](https://i0.wp.com/confrage.jp/wp-content/uploads/2018/08/aaaaaaaaa-1.jpg?resize=100%2C100&ssl=1)
コメント