HF RL Explorer

Create a command-line tool /app/backup.py that performs checksum-verified backup and restore operations on…

Create a command-line tool /app/backup.py that performs checksum-verified backup and restore operations on…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). backup subcommand: - Takes a source directory and a destination backup file path as arguments. - Recursively…

The task

**backup** subcommand: - Takes a source directory and a destination backup file path as arguments. - Recursively walks the source directory, collecting all regular files. - Computes a SHA-256 checksum for each file. - Writes a backup archive to the destination path. The archive format is a custom binary format…

Part of ai-and/termgrade-environments.