tldr/pages/common/xdelta.md

14 lines
361 B
Markdown
Raw Normal View History

2021-08-09 22:52:46 +01:00
# xdelta
> Delta encoding utility.
> Often used for applying patches to binary files.
> More information: <https://github.com/jmacd/xdelta>.
2021-08-09 22:52:46 +01:00
- Apply a patch:
`xdelta -d -s {{path/to/input_file}} {{path/to/delta_file.xdelta}} {{path/to/output_file}}`
- Create a patch:
`xdelta -e -s {{path/to/old_file}} {{path/to/new_file}} {{path/to/output_file.xdelta}}`