HF RL Explorer

Create a command-line backup and restore tool at /app/backup.py that archives a directory into a single…

Create a command-line backup and restore tool at /app/backup.py that archives a directory into a single…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Usage: - /app/backup.py backup <source dir <output file — creates a compressed tar archive, computes a SHA-256…

The task

Usage: - `/app/backup.py backup <source_dir> <output_file>` — creates a compressed tar archive, computes a SHA-256 checksum over the tar stream, and writes a backup file containing the checksum followed by the tar data. Must preserve all file metadata (permissions, ownership, timestamps, symlinks, hardlinks, xattrs,…

Part of ai-and/termgrade-environments.