facebook / facebook/zstd

--patch-from extensions and speed optimizations

Open
#2,173 19 comments 16 reactions 1 assignee Claimed by @daniellerozenblit View on GitHub
feature request long-term
Dominant language
C
Stars
27.9k
Forks
2.6k
Avg merge
1d 3h
Merged PRs (30d)
8

Description

**Is your feature request related to a problem? Please describe.**
The --patch-from option only accept that are not larger than 4GB. My files are >5GB (the most) and very similar, they only differ in language, so the patch would be about 200MB.

**Describe the solution you'd like**
I would like zstd to support files larget than 4GB for the --patch-from option.

**Describe alternatives you've considered**
No alternatives, because I couldn't find any solutions regarding this error.

**Additional context**
```
PS Y:\zstd> .\zstd.exe --patch-from=.\en_windows_10_consumer_editions_version_2004_x64_dvd_8d28c5d7.iso .\de_windows_10_consumer_editions_version_2004_x64_dvd_7efdffc7.iso -o patch
zstd: error 42 : Can't handle files larger than 4 GB
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.