Create onedrive.md

This commit is contained in:
t. Macleod Sawyer 2021-02-17 00:21:27 -06:00 committed by GitHub
commit 8390abd4df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
onedrive.md Normal file
View file

@ -0,0 +1,7 @@
# OneDrive
Rclone for virtual file system storage (cloud storage shouldn't download until you want them, in most cases). This is a startup script to unmount fuser on login (in case it didn't unmount properly on logout, shudown, or unexpected power loss) and then it instantiates the mount protocol for the virtual file system (vfs) with proper cacheing via Rclone.
This solves the issue of "transport endpoint is not connected" as well due to the unmounting call.
```sh -c "fusermount -uz ~/OneDrive; rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive"```'