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

Volume split outputs file with ".001" extension when there's only one part #78

Open
dragonhunt02 opened this issue Jan 13, 2025 · 2 comments

Comments

@dragonhunt02
Copy link

dragonhunt02 commented Jan 13, 2025

If a volume is created from a file baz smaller than selected volume size

mkdir temp
dd if=/dev/random of=baz bs=3M count=10
7zz a -tzip  -v1G temp/foo baz

7zip outputs one volume foo.zip.001.
This also happens if file is bigger than volume size, but compressed output size is smaller than volume size.

Expected behaviour is to output one file foo.zip.

File foo.zip.001 can be renamed to foo.zip and extracted with other software, so we can improve compatibility with this change.

@ip7z
Copy link
Owner

ip7z commented Jan 13, 2025

It can be expected that all created archive files will have file name extensions regardless of size.
For example, some script can copy created volumes with expected file name extensions (001, 002).

@dragonhunt02
Copy link
Author

Indeed such change would require an appropriate flag to avoid breaking existing script pipelines

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

No branches or pull requests

2 participants