代码拉取完成,页面将自动刷新
#!/bin/bash
if [ -s /etc/xiaoya/docker_address.txt ]; then
docker_addr=$(head -n1 /etc/xiaoya/docker_address.txt)
else
echo "请先配置 /etc/xiaoya/docker_address.txt,以便获取docker 地址"
exit
fi
max_size=42327932100
if [ "$2" == "all" ]; then
cd $1/temp
aria2c -o config.mp4 --auto-file-renaming=false --allow-overwrite=true -c -x6 "$docker_addr/d/元数据/config.mp4"
aria2c -o pikpak.mp4 --auto-file-renaming=false --allow-overwrite=true -c -x6 "$docker_addr/d/元数据/pikpak.mp4"
aria2c -o all.mp4 --auto-file-renaming=false --allow-overwrite=true -c -x6 "$docker_addr/d/元数据/all.mp4"
fi
cd $1
echo "执行解压............"
start_time1=`date +%s`
7z x -aoa -bb1 -mmt=16 temp/config.mp4 2>/dev/null
cd $1/xiaoya
rm -rf test
7z x -aoa -bb1 -mmt=16 $1/temp/all.mp4 2>/dev/null
7z x -aoa -bb1 -mmt=16 $1/temp/pikpak.mp4 2>/dev/null
end_time1=`date +%s`
total_time1=$((end_time1 - start_time1))
total_time1=$((total_time1 / 60))
echo "解压执行时间:$total_time1 分钟"
host=$(echo $docker_addr|cut -f1,2 -d:)
echo -e "\033[33m"
echo "刮削数据已经解压完成,请登入$host:2345,用户名:xiaoya 密码:1234"
echo -e "\033[0m"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。