hugo/content/posts/1.Learning/A1.StudyNotes/aliyunpan-mac.md
2026-03-18 22:36:05 +08:00

20 lines
715 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "阿里云盘mac本地挂在"
date: 2022-03-19T21:06:28+08:00
tags: ["aliyundriver"]
categories: ["Learning", "StudyNotes"]
---
主要参考文档https://blog.51cto.com/xuedingmaojun/4815572
采用方式:
https://github.com/zxbu/webdav-aliyundriver#jar包运行
挂在地址代码
```shell
cd /Users/xxx/Workspaces/WebRoot/logs/webdav;nohup java -jar /Users/xxx/Workspaces/Env/WebDAV/PATH/bin/webdav-aliyundriver-2.4.2.jar --aliyundrive.refresh-token="aaa" --server.port=aaa --aliyundrive.work-dir=/usr/local/etc/webdav/aliyundriver --aliyundrive.auth.user-name=aaa --aliyundrive.auth.password=aaa > /Users/aaa/Workspaces/WebRoot/logs/webdav/webdav.log 2>&1 &;
# nohup切换前台停止
fg
```