Loading backup/backup +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ NR>2 { image_url = registry "/" $1 ":" $(i) image_file = dest "/" $1 "/" $(i) ".tar" printf "Saving %s to %s.\n", image_url, image_file system("[ -f " image_file " ] || rm " image_file) system("[ ! -f " image_file " ] || rm " image_file) if (system("skopeo copy docker://" image_url " docker-archive://" image_file) == 0) printf "Backup of %s was successful.\n", image_url else { Loading Loading
backup/backup +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ NR>2 { image_url = registry "/" $1 ":" $(i) image_file = dest "/" $1 "/" $(i) ".tar" printf "Saving %s to %s.\n", image_url, image_file system("[ -f " image_file " ] || rm " image_file) system("[ ! -f " image_file " ] || rm " image_file) if (system("skopeo copy docker://" image_url " docker-archive://" image_file) == 0) printf "Backup of %s was successful.\n", image_url else { Loading