### Create File Snapshot with Blockdiff Source: https://github.com/cognitionai/blockdiff/blob/main/README.md Use this command to create a blockdiff file representing the differences between a target image and a base image. ```bash blockdiff create output.bdiff target.img --base base.img // creates output.bdiff from target.img and base.img ``` -------------------------------- ### Apply File Snapshot with Blockdiff Source: https://github.com/cognitionai/blockdiff/blob/main/README.md Use this command to reconstruct a target image from a blockdiff file and a base image. ```bash blockdiff apply input.bdiff target.img --base base.img // creates target.img from input.bdiff and base.img ``` -------------------------------- ### Compact Sparse File with Blockdiff Create Source: https://github.com/cognitionai/blockdiff/blob/main/README.md Consolidates a sparse file into a new, compact blockdiff file. This is useful for reducing file size for storage or transfer. ```bash blockdiff create compact.bdiff target.img // consolidates sparse file into a new compact blockdiff ``` -------------------------------- ### Apply Compact Blockdiff to Create Sparse File Source: https://github.com/cognitionai/blockdiff/blob/main/README.md Recreates a sparse target image from a compact blockdiff file. This is the inverse operation of compacting a sparse file. ```bash blockdiff apply compact.bdiff target.img // creates a new sparse target.img from the blockdiff ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.