Create a command-line tool /app/backup that performs verified backups and restores of files using SHA-256…
Create a command-line tool /app/backup that performs verified backups and restores of files using SHA-256…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Backup operation ( /app/backup backup <source dir <backup file ): - Recursively walks <source dir …
The task
**Backup operation** (`/app/backup backup <source_dir> <backup_file>`): - Recursively walks `<source_dir>`, collecting all regular files (not directories, symlinks, or special files). - Files must be stored in the backup in a deterministic order: sorted by their relative path using locale-aware string comparison…
Part of ai-and/termgrade-environments.