s2-dungeonsandexploits/load_dockers.sh

7 lines
165 B
Bash
Raw Permalink Normal View History

2022-11-18 09:04:33 +01:00
#!/bin/bash
set -e
here="$(realpath "$(dirname "$0")")"
cd "$here"
find "./saved" -iname "*.tar.xz" -type f | xargs -I {} -n 1 sh -c "cat {} | xz -d | docker load"