2020-12-09 21:56:43 +00:00
|
|
|
#!/bin/bash
|
|
|
|
REMOTE_URL="https://minio2.hibas123.de/share/fba.tar"
|
2020-12-09 23:13:40 +00:00
|
|
|
RESULT_DIR=/var/www/
|
2020-12-09 21:56:43 +00:00
|
|
|
|
|
|
|
wget $REMOTE_URL
|
|
|
|
|
|
|
|
FILE_PATH=$(pwd)/fba.tar
|
|
|
|
|
2020-12-09 23:21:47 +00:00
|
|
|
cd $RESULT_DIR
|
2020-12-09 21:56:43 +00:00
|
|
|
|
|
|
|
tar -xvf $FILE_PATH
|
|
|
|
chown -R caddy:caddy *
|