Borg/examples/collect_website.sh
google-labs-jules[bot] 4ae69ae74c feat: Add documentation and examples
This change adds a 'docs/README.md' file with command-line documentation and an 'examples' directory containing scripts to demonstrate the tool's usage. It also includes a Go program to inspect the contents of a DataNode.
2025-11-02 12:23:25 +00:00

8 lines
377 B
Bash
Executable file

#!/bin/bash
# Example of using the 'borg collect website' command.
# This script crawls the specified website and saves it as a .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 website https://google.com --output website.dat --depth 1