Implement a command-line tool that creates and verifies backups of a directory tree using content-based…
Implement a command-line tool that creates and verifies backups of a directory tree using content-based…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). save subcommand: backup save <source dir <backup file - Recursively walks source dir and creates a backup…
The task
**`save` subcommand:** ``` backup save <source_dir> <backup_file> ``` - Recursively walks `source_dir` and creates a backup manifest in `backup_file`. - The manifest is a UTF-8 text file with Unix line endings (LF only, no CRLF). - Each line has format: `<checksum> <path>` where `<path>` is the relative path from…
Part of ai-and/termgrade-environments.