OK, I got rclone installed and connected to my OneDrive with local directory ~/OneDrive. How do I get it to mount so that it will sync automatically? I found this on a Linux site:
Bills-MacBook-Air:~ bmeacham$ rclone --vfs-cache-mode writes mount --allow-non-empty "remote_onedrive": ~/OneDrive
the OSXFUSE file system is not available (2)
2023/08/23 13:29:44 ERROR : OneDrive root '': Mount failed
2023/08/23 13:29:44 Fatal error: failed to mount FUSE fs: mount stopped before calling Init: mount failed
@kapitainsky Thanks for the tips. Now things are better, but I still have some issues.
First the success. I installed macFUSE as you suggested and then mounted the remote directory with the following command (had to add "--allow-non-empty"):
Bill's Air:~ bmeacham$ rclone mount --vfs-cache-mode full --vfs-cache-max-size 100G --dir-cache-time 9999h --vfs-cache-max-age 9999h --allow-non-empty --tpslimit 3 --tpslimit-burst 0 remote_onedrive: ~/OneDrive
I left the terminal instance open, and now the local folder syncs with the remote directory. Hurray.
But something odd happens. I'm running MacOS 10.14.6 (Mojave).
Before mounting remote directory, show my home folder in Finder.
a. Expected result: OneDrive folder is displayed as "OneDrive"
b. Actual result: OneDrive folder is displayed as "OneDrive"
(Image: OneDriveFolder1.jpg. Sorry, I don't know how to insert images)
Open terminal, use rclone to mount remote directory with this command:
rclone mount --vfs-cache-mode full --vfs-cache-max-size 100G --dir-cache-time 9999h --vfs-cache-max-age 9999h --allow-non-empty --tpslimit 3 --tpslimit-burst 0 remote_onedrive: ~/OneDrive
After mounting remote directory, show my home folder in Finder.
a. Expected result: OneDrive folder is displayed as "OneDrive"
b. Actual result: Name has changed to "remote_onedrive"
(Image: OneDriveFolder2.jpg)
Open a new Terminal instance, list contents of home directory
a. Expected result: folder name is "remote_onedrive"
b. Actual result: folder name is "OneDrive"
Question 1: Why does the folder name in Finder change after mounting the remote directory?
Question 2: Why does the folder name in Finder differ from the folder name in Terminal
?
I'll have some more questions, but it's late where I am and this is enough for now. Many thanks for your help.
No idea what FreeFileSync is - sorry I do not use it. Maybe you can find some help on their forum.
Also I stopped using macOS Mojave long time ago... so can not even try anything. This is real problem with vintage computing. More and more you stay behind you have to deal with a lot of issues on your own.
Yeah. I have some 32-bit software that won't run on anything newer than Mojave, so I have not upgraded. FreeFileSync is a folder sync application that I use for backup. https://freefilesync.org/. Very useful.
"FreeFileSync is a folder comparison and synchronization software that creates and manages backup copies of all your important files. Instead of copying every file every time, FreeFileSync determines the differences between a source and a target folder and transfers only the minimum amount of data needed. FreeFileSync is Open Source software, available for Windows, macOS, and Linux."
This all works great in Ubuntu Linux. MacOS unix is weird.
Yes. I do understand that there are sometimes reasons to use even much older systems. I know some industrial stuff still using Windows XP - because it works and nobody ever migrated software supporting multi million $ equipment. You do not touch it - not connect to Internet - and keep using.
macOS is actually real Unix:) Ubuntu is not - hence problems. Often funny issues with GNU software. But it is what most people use nowadays.
I think I've probably gone down this path as far as it will take me. I can do what I want with a procedural workaround: do what I want with my OneDrive folder and then run rclone to sync with online OneDrive. Too bad I can't just let it be synced all the time. I'll fiddle with it some more.
btw, how can I make the mount command run at startup, assuming I would want to?
If you have any new issues please start a new thread as this one original question is already answered. Multiple issues in one thread make it difficult for others to find it later.