Design a command-line tool backup that creates a verified, compressed archive of a directory and a companion…
Design a command-line tool backup that creates a verified, compressed archive of a directory and a companion…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). backup <source dir <output file - Creates <output file containing a compressed tar archive of <source dir…
The task
**`backup <source_dir> <output_file>`** - Creates `<output_file>` containing a compressed tar archive of `<source_dir>`. - `<output_file>` must be a gzip-compressed file containing exactly: a 32-byte SHA-256 hex checksum (lowercase), a single null byte separator (`\0`), followed by the gzipped tar data. - The…
Part of ai-and/termgrade-environments.