jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
2k stars 95 forks source link

Excluding OneNote files #102

Open derchr opened 3 years ago

derchr commented 3 years ago

Hi, thank you for your awesome software. I use onedriver to mount my OneDrive storage into my Nextcloud. However accessing the OneNote Notebooks does result in an error (MS does not allow accessing these files I think). So I have to manually exclude these files when syncing Nextcloud to my local storage. Rclone does have an option to ignore all OneNote Notebooks so that those errors not occur.

Is it possible to ignore those files with onedriver?

jstaf commented 3 years ago

It's not possible yet, but I'll look into fixing this for you.

circle-dev commented 3 years ago

Hi,

Thanks for the great software, I want to know this as well. It is exporting ".Trash" folder and other hidden files in the root mount folder. It will be nice to have exclusion option implemented.

Thanks again.

jstaf commented 3 years ago

The .Trash folder and .xdg-volume-info are actually important and serve a function. The .Trash folder is required for system trash/restore functionality to work - without it, your file browser will start creating popup error messages every time you try to delete a file. Likewise, the .xdg-volume-info file is responsible for naming the filesystem in your file browser and is used in checks to confirm the filesystem was mounted properly. You need both of those files for proper operation of the filesystem.

circle-dev commented 3 years ago

That makes sense. Thank you.