创建目录:
url2023=20230828;curl -v -u "admin":"这里是密码" -X MKCOL "http://127.0.0.1:5244/dav/my189tianyi/${url2023}/"
上传文件:
curl -v -u "admin":"这里是密码" -T /tmp/aa.json "http://127.0.0.1:5244/my189tianyi/"
参考资料:
https://www.cnblogs.com/sky-cheng/p/16546837.htmlhttps://www.cnblogs.com/sky-cheng/p/16546837.html