Create a command-line tool /app/tool.py that performs verified backup and restore operations on directory…
Create a command-line tool /app/tool.py that performs verified backup and restore operations on directory…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). backup /app/tool.py backup <source dir <backup file - Recursively copies all files and directories from…
The task
**backup** `/app/tool.py backup <source_dir> <backup_file>` - Recursively copies all files and directories from `<source_dir>` into a single backup archive at `<backup_file>`. - The archive format is: a gzipped tarball containing the directory tree, followed by a SHA-256 checksum of the uncompressed tar data. - The…
Part of ai-and/termgrade-environments.