Borg/examples/create_tim.sh
google-labs-jules[bot] 3398fabb14 feat: Add trix encryption and format
This commit introduces the `Enchantrix` library to add support for the `.trix` encrypted file format.

The main changes are:

- The `matrix` format has been renamed to `tim` (Terminal Isolation Matrix).
- The `.tim` format is now a specialized `.trix` file.
- A new `decode` command has been added to decode `.trix` and `.tim` files.
- The `collect` commands now support the `trix` and `tim` formats.
- A `--password` flag has been added to the `collect` commands for encryption.
- A `--i-am-in-isolation` flag has been added to the `decode` command for safely decoding `.tim` files.
- The decryption functionality is currently disabled due to a bug in the `Enchantrix` library. A follow-up PR will be created to re-enable it.
2025-11-14 13:47:27 +00:00

8 lines
404 B
Bash
Executable file

#!/bin/bash
# Example of using the 'borg collect' command with the '--format tim' flag.
# This script clones the specified Git repository and saves it as a .tim file.
# Ensure the 'borg' executable is in the current directory or in the system's PATH.
# You can build it by running 'go build' in the project root.
./borg collect github repo https://github.com/Snider/Borg --output borg.tim --format tim