hjvn2211445 大佬有话说 :
rclone copyurl下载3.6w写真jio本
本帖最后由 hjvn2211445 于 2020-2-22 06:07 编辑
本贴主要提醒大家rclone 有copyurl这个功能,直接url下载后上传。
官方介绍:Download a URL’s content and copy it to the destination without saving it in temporary storage.
https://rclone.org/commands/rclone_copyurl/
3.6w写真:
https://www.hostloc.com/thread-643413-1-1.html
1.安装配置好rclone
2.下载好3.6w文件夹
3.在.txt文件的同目录创建下面代码脚本i.sh
4.bash i.sh
#!/bin/bash
for i in {1..95}
do
xargs -i rclone copyurl {} gd:ku137/${i} -a -vP < ${i}.txt
done
###gd:ku137改为你的rclone配置名称和远程文件夹名字
坑:
1.上面网站经常503,下载不下来好像会直接跳过
2.copyurl好像不检查远程目录文件,所以运行一次就下载上传一次
可以去github给作者提请求/自己改源码
https://forum.rclone.org/t/copyurl-same-file-name-overwrite/13660
所以用来下载这次这个套图不实用,我只是想介绍一下copyurl
mymyhope 大佬有话说 :
第一!