HF RL Explorer

Build a command-line tool /app/backup.py that creates and verifies timestamped backups of directories.

Build a command-line tool /app/backup.py that creates and verifies timestamped backups of directories.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Commands: - create <source dir <backup dir — Creates a compressed tar.gz backup of source dir into backup dir …

The task

**Commands:** - `create <source_dir> <backup_dir>` — Creates a compressed tar.gz backup of `source_dir` into `backup_dir`, named `backup_YYYYMMDD_HHMMSS.tar.gz`. Also writes a SHA-256 checksum file `backup_YYYYMMDD_HHMMSS.sha256` containing the hex digest of the tar.gz file. - `verify <backup_file>…

Part of ai-and/termgrade-environments.