A utility to zip Unity projects and transfer them to a NAS.
Due to Unity projects having tons of small files, it is very slow to transfer them to a NAS. This utility will zip the project and transfer the zip file instead.
There are 2 possible approaches to using this utility.
- The first is to use the command line arguments to specify the transfers to perform.
- The second is to use the configuration file to specify the transfers to perform.
ZipTransfer.exe <source> <destination> <tempPath>
{
"Transfers": [
{
"Source": "C:\\temp\\Transfers\\source",
"Destination": "C:\\temp\\Transfers\\destination",
"ZipSubdirectories": false, //optional
"Versions": 2 //optional
}
],
"TempLocation": "C:\\temp"
}
- Sample using optimal compression took 85.23 seconds to zip to 159MB.
- Sample using fastest compression took 4.72 seconds to zip to 169MB.