abraunegg / onedrive

OneDrive Client for Linux
https://abraunegg.github.io
GNU General Public License v3.0
9.63k stars 849 forks source link

Feature Request: custom location of business shared folders #2734

Closed Karel-Kroeze closed 1 month ago

Karel-Kroeze commented 1 month ago

Is your feature request related to a problem? Please describe.

I work on many small to medium projects, often collaborating with different people. These projects are organized by type (e.g., Teaching, Consults, Projects, etc.), each in their own folder within OneDrive. On windows, I can move shared folders created by me or shared with me to their respective folder without issue, the client automagically keeps track of where I put things and continues to sync the contents of the shared folder.

On linux, using onedrive-cli, I have not been able to change the location of shared folders. Simply moving the shares after they were synced (as I would have done in Windows) seems to just create a disconnected copy (as might be expected). I would like to be able to keep my shared folders organized when using onedrive-cli, and specify where a business shared folder should be 'mounted'.

Describe the solution you'd like

ideally, onedrive-cli would be able to match the windows clients behaviour, and continue syncing shared folders even if they are moved (as long as it remains somewhere in the OneDrive folder).

A workable alternative would be a way to specify the location of each business shared folder in configuration. For example, by adding a second argument for each shared folder specifying the location for the share (relative to the onedrive root) in business_shared_folders;

# some shared folder in the root ('/' would be the implicit default if no specific location is given)
RootSharedFolder

# Shared 'Project Name' folder, that I´d like to be synced at '/Projects/Project Name'
"Project Name" /Projects

I realize this specific example is likely a no-go, as the current config format seems to rely on newlines to separate folders, but the idea should be clear

Describe alternatives you've considered

Sharing the 'top' level "Project", "Teaching", etc. folders would solve my organization problem, but isn´t a realistic option as collaborators differ between projects.

Additional context

I really want to dump Windows, but I work in an environment that heavily relies on the MS cloud - getting all my collaborators to ditch MS products is not an option. At the moment, reliably syncing OneDrive has been one of my biggest pain points, and shared folders in specific are a blocker as they are implemented now. onedrive-cli has been great in getting me 95% off Windows, but I´d really like to get that last bit there.

abraunegg commented 1 month ago

@Karel-Kroeze OneDrive Business Shared Folders has been 100% re-written with v2.5.x

Please review the RC2 documentation, review 'Discussions' for more details.

abraunegg commented 1 month ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.