#!/bin/bash REMOTE_URL="https://minio2.hibas123.de/share/fba-patch.tar" RESULT_DIR=/var/www/ wget $REMOTE_URL FILE_PATH=$(pwd)/fba-patch.tar cd RESULT_DIR tar --overwrite -xvf $FILE_PATH chown -R caddy:caddy *