1 Star 0 Fork 0

i_xxg/xiaoya

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
update_metainfo.plus.org.sh 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
#!/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"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/i-xxg/xiaoya.git
[email protected]:i-xxg/xiaoya.git
i-xxg
xiaoya
xiaoya
master

搜索帮助