Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request #25

Closed
rgel opened this issue Oct 9, 2016 · 2 comments · Fixed by #31
Closed

Feature request #25

rgel opened this issue Oct 9, 2016 · 2 comments · Fixed by #31

Comments

@rgel
Copy link

rgel commented Oct 9, 2016

Is it possible to add -Split parameter to split archives into fixed size peaces.
Like -v700m in the command line utility 7za.exe.
Example: 7za.exe a .\arch.zip .\file.iso -v700m.
Thanks

@thoemmi
Copy link
Owner

thoemmi commented Oct 9, 2016

It's a good idea. Until I've implemented it, you can use following work-around:

$initScript = {
    param ($compressor)
    $compressor.VolumeSize =700*1024*1024 
}

Compress-7Zip -Path . -ArchiveFileName demo.7z -CustomInitialization $initScript

@rgel
Copy link
Author

rgel commented Oct 10, 2016

Thanks, it would be nice.
The workaround was helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants