Borg/examples/compress_datanode.sh
google-labs-jules[bot] 5a864a9059 feat: Add optional compression to collect commands
This change introduces optional compression to the `collect` commands. Users can now specify `--compression` with `gz` or `xz` to compress the output. The `serve` command has also been enhanced to transparently decompress and serve these files.
2025-11-02 13:27:04 +00:00

8 lines
419 B
Bash
Executable file

#!/bin/bash
# Example of using the 'borg collect' command with the '--compression' flag.
# This script clones the specified Git repository and saves it as a compressed .dat file.
# The main executable 'borg' is built from the project's root.
# Make sure you have built the project by running 'go build -o borg main.go' in the root directory.
./borg collect github repo https://github.com/Snider/Borg --compression gz