Create a CLI tool backup that performs checksum-verified backup and restore operations on files. The tool…
Create a CLI tool backup that performs checksum-verified backup and restore operations on files. The tool…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). backup checksum <directory - Recursively find all regular files inside <directory (not following symlinks). -…
The task
**`backup checksum <directory>`** - Recursively find all regular files inside `<directory>` (not following symlinks). - For each file, compute a SHA-256 hash of its contents. - Output to stdout a manifest: one line per file, sorted, in the format `hex_hash path` where `path` is relative to `<directory>` and uses…
Part of ai-and/termgrade-environments.