Create a backup and restore tool that computes a cryptographic checksum over file contents and metadata…
Create a backup and restore tool that computes a cryptographic checksum over file contents and metadata…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract (backup): - Reads a list of file paths from stdin (one per line). - For each file, records…
The task
**Input contract (backup):** - Reads a list of file paths from stdin (one per line). - For each file, records: relative path, file contents, permissions (octal), owner (uid), group (gid), modification time (nanosecond precision), and whether it's a symlink (with target). - Computes a deterministic SHA-256 checksum…
Part of ai-and/termgrade-environments.