#i#Google#_Mount#i-2#i-3https://rclone.org/downloads/http://www.secfs.net/winfsp/download/https://github.com/mmozeiko/RcloneBrowserhttps://github.com/kapitainsky/RcloneBrowser/releaseshttps://ymgblog.com/2018/03/09/296/https://rclone.org/drive/#team-driveshttps://rclone.org/commands/rclone_mount/#file-cachinghttps://github.com/ncw/rclone/issues/2288#1Rclone#2Rclone#3#4Rclone#41_rclone_copy#42_rclone_sync#43_rclone_mount#44https://tl.88531.cn/share/6zWI2kilW7Lu#1.Rclone%20%E4%BB%8B%E7%BB%8Dhttps://ymgblog.com/go.html/?url=https://github.com/ncw/rclonehttps://ymgblog.com/go.html/?url=https://rclone.org/https://ymgblog.com/go.html/?url=https://blog.rhilip.info/archives/874/https://tl.88531.cn/share/6zWI2kilW7Lu#2.Rclone%20%E7%9A%84%E5%AE%89%E8%A3%85https://tl.88531.cn/share/6zWI2kilW7Lu#3.%E9%85%8D%E7%BD%AEhttps://tl.88531.cn/share/6zWI2kilW7Lu#4.Rclone%20%E5%9F%BA%E7%A1%80%E6%93%8D%E4%BD%9Chttps://tl.88531.cn/share/6zWI2kilW7Lu#4.1.%E5%A4%8D%E5%88%B6%20rclone%20copyhttps://tl.88531.cn/share/6zWI2kilW7Lu#4.2.%E5%90%8C%E6%AD%A5%20rclone%20synchttps://tl.88531.cn/share/6zWI2kilW7Lu#4.3.%E6%8C%82%E8%BD%BD%20rclone%20mounthttps://tl.88531.cn/share/6zWI2kilW7Lu#4.4.%E5%85%B6%E5%AE%83%E5%B8%B8%E8%A7%81%E5%91%BD%E4%BB%A4https://ymgblog.com/go.html/?url=https://rclone.org/drive/https://ymgblog.com/go.html/?url=https://rclone.org/commands/#i#i-2#i-3#i-4#i-5https://www.smzdm.com/ju/s2qrjnp/https://www.smzdm.com/ju/s2441lm/https://post.smzdm.com/p/avprpqop/pic_2/https://post.smzdm.com/p/avprpqop/pic_3/https://www.smzdm.com/ju/s28z0v2/https://post.smzdm.com/p/avprpqop/pic_4/https://post.smzdm.com/p/avprpqop/pic_5/https://post.smzdm.com/p/avprpqop/pic_6/https://post.smzdm.com/p/avprpqop/pic_7/https://www.smzdm.com/fenlei/yingpan/https://www.smzdm.com/ju/sp76zm2/https://post.smzdm.com/p/avprpqop/pic_8/https://post.smzdm.com/p/avprpqop/pic_9/https://post.smzdm.com/p/avprpqop/pic_10/https://post.smzdm.com/p/avprpqop/pic_11/#i#i-2#_WebClient_http#1#2#3#i-3#1-2#2-2#1rclone#2rclone#3rclone#4rclone#5OneDrive#6#7_RcloneBrowserhttps://link.zhihu.com/?target=https%3A//rclone.org/downloads/https://link.zhihu.com/?target=https%3A//github.com/ncw/rclonehttps://link.zhihu.com/?target=https%3A//rclone.org/downloads/https://link.zhihu.com/?target=https%3A//github.com/rclone/rclone/releaseshttps://link.zhihu.com/?target=http%3A//www.secfs.net/winfsp/download/https://link.zhihu.com/?target=https%3A//www.baidu.com/s%3Fwd%3Dwindows%2520%25E5%25AE%2589%25E8%25A3%2585git%26ie%3Dutf-8https://link.zhihu.com/?target=https%3A//github.com/kapitainsky/RcloneBrowser/releaseshttps://link.zhihu.com/?target=http%3A//md.aclickall.com/%2520https%3A//www.raidrive.com/https://link.zhihu.com/?target=https%3A//rclone.org/docs/https://link.zhihu.com/?target=http%3A//md.aclickall.com/%255Bhttps%3A//telegra.ph/Windows%25E4%25B8%258B%25E7%2594%25A8rclone%25E6%258C%2582%25E8%25BD%25BDOneDrive%25E4%25B8%25BA%25E6%259C%25AC%25E5%259C%25B0%25E7%25A1%25AC%25E7%259B%2598-01-03%255D%28https%3A//telegra.ph/Windows%25E4%25B8%258B%25E7%2594%25A8rclone%25E6%258C%2582%25E8%25BD%25BDOneDrive%25E4%25B8%25BA%25E6%259C%25AC%25E5%259C%25B0%25E7%25A1%25AC%25E7%259B%2598-01-03%29https://link.zhihu.com/?target=http%3A//piaoyun.cc/1290.htmlhttps://link.zhihu.com/?target=https%3A//p3terx.com/archives/rclone-advanced-user-manual-common-command-parameters.html#1_rCloneWinfsp#2_rClone#3_webdav#4https://github.com/winsw/winsw/releases#1#2#3#4#5

工具

其中rclone的windows版需要解压,并添加解压目录到系统路径中。(额,不添加,然后使用时写完整路径也行23333)。而依赖库winfsp下载完后一路Next直接安装就可以了。

补充图形化管理工具

添加Google团队云盘

确认rclone已经添加到系统路径中后可以使用rclone config进入配置项。
具体的配置设置可参见下面他人写的帮助或者直接搜索就行,挺简单的所以本处不再累述(实际情况是没有对中间过程做保存),注意在提示“Configure this as a team drive?”时,输入Y,并填入需要使用的团队云盘。

挂载 Mount

我这里假设我前面添加的名称为GDrive,想要挂载在本机的X:上,并设置缓存目录为F:\Temp(cache路径中请不要带有空格,默认缓存目录为C盘用户目录下, C:\Users\<Your user name>\AppData\Local\rclone)。那么运行以下命令执行挂载(整个GDrive根目录)操作,然后你就会看到一个可爱的X盘出现了~

关于vfs-cache-mode项设置,还是建议看下官方的说明根据自己的需求和网络情况来进行选择 https://rclone.org/commands/rclone_mount/#file-caching 。这里只做简单说明:

  • off: In this mode the cache will read directly from the remote and write directly to the remote without caching anything on disk. (本地不做任何缓存,所有文件直接从云端获取并写入。建议网速特别好时(复制粘贴大文件时建议至少100M管以上速度)使用。
  • minimal: This is very similar to “off” except that files opened for read AND write will be buffered to disks. This means that files opened for write will be a lot more compatible, but uses the minimal disk space. (和off类似,但是已经打开的文件会被缓存到本地。个人推荐,小文件基本够用,但是如果你的网络情况(梯子)不是特别好的话,用writes也行
  • writes: In this mode files opened for read only are still read directly from the remote, write only and read/write files are buffered to disk first. (如果文件属性为只读则只从云端获取,不然先缓存在本地进行读写操作,随后被同步。个人推荐使用,但是在直接从本地复制文件到GDrive时还是看网络情况
  • full:In this mode all reads and writes are buffered to and from disk. When a file is opened for read it will be downloaded in its entirety first. (所有的读写操作都会缓存到磁盘中。然后才会同步。不是很推荐。会导致所有文件均被缓存到本地。直到达到你缓存总额(--cache-total-chunk-size,默认大小10G)。但是你网速特别差时也可以使用。

后端运行以及开机自动挂载

上面的挂载操作在退出cmd后就自动结束了,所以我们需要让它后台运行。
rclone虽然提供了--daemon参数来实行后台运行,但是该参数并不适合于windows环境中。会有如下提示:

所以,我们需要另外想个办法让rclone能够后端运行以及开机自动挂载。

在你之前解压的rclone目录下新建一个文本文件,填入以下内容,请注意修改倒数第二行的WS.Run中相关命令为你上步成功执行的命令,然后将该文件名改为rclone.vbs (后缀名为.vbs即可)

完成后双击运行,你会看到X盘挂载成功。

补充说明下,如果你看到显示的挂载空间其实是个人空间大小,请参阅此issue: The amount of disk space incorrent when mount Team Drives (gdrive) in Windows 10 · Issue #2288 · ncw/rclone 下载最新的rclone并安装。但超大文件仍建议使用rclone copy或者rclone sync进行复制或者同步操作,而不是直接使用挂载盘,以免卡挂载盘。

TIM截图20180501100446.jpg

如果你需要中断这个挂载操作,请直接在任务管理器中kill掉rclone.exe进程即可。

然后将这个文件复制(或者剪贴)到开机项中C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp(Windows 10)即可实现开机自动挂载~

上传速度相关

rclone直接连通www.goolgeapis.com进行文件的上传与下载操作。能直接走IPv6流量,在教育网100M环境下,能做到满速上传。其他环境网速视你的网络情况决定。

TIM图片20180501164229.jpg

TIM截图20180501163934.jpg

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。