1 2 3 4 5 6
#!/bin/sh sudo machinectl export-tar arch1 > arch1-export mv arch1-export arch1-export.tar echo "gziping..." gzip arch1-export.tar