haiwen / seafile

High performance file syncing and sharing, with also Markdown WYSIWYG editing, Wiki, file label and other knowledge management features.
http://seafile.com/
Other
12.15k stars 1.54k forks source link

Granular Selective Sync #1984

Open niij opened 6 years ago

niij commented 6 years ago

It appears that selective sub sync is now available for the community version. But it behaves in a confusing manner where the selective folders are synced to the ROOT of the seafile directory, instead of the directory tree being built out to the selected folders. Basically what @seanmadsen was talking about in #239 . Dropbox and Onedrive build out the directory structure correctly, if a reference is helpful.

If you have the below directory structure and want to only sync the 2015 files you will have 2015Tax and 2015Audit in your seafile/ root directory.

Current behavior when syncing 2015Tax and 2015Audit is:

Expected behavior:

shoeper commented 6 years ago

Selective sync for folders is currently handled as for libraries. They can be synced with any folder on the computer.

As I understand you idea is to preserve the directory structure as default proposal.

niij commented 6 years ago

preserve the directory structure as default proposal

That's exactly what I'm proposing and you said it much clearer than I did. Now that I think about it, that should be really easy to implement. Perhaps I'll look into the code and open a PR, if you think that is a good idea to preserve directory structure?

On Nov 8, 2017 08:35, "Sven" notifications@github.com wrote:

Selective sync for folders is currently handled as for libraries. They can be synced with any folder on the computer.

As I understand you idea is to preserve the directory structure as default proposal.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/haiwen/seafile/issues/1984#issuecomment-342835574, or mute the thread https://github.com/notifications/unsubscribe-auth/APVGPJRtV_cnE6skSnO_iN-45Xgr2yQBks5s0bwrgaJpZM4QUGVS .

On Nov 8, 2017 08:35, "Sven" notifications@github.com wrote:

Selective sync for folders is currently handled as for libraries. They can be synced with any folder on the computer.

As I understand you idea is to preserve the directory structure as default proposal.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/haiwen/seafile/issues/1984#issuecomment-342835574, or mute the thread https://github.com/notifications/unsubscribe-auth/APVGPJRtV_cnE6skSnO_iN-45Xgr2yQBks5s0bwrgaJpZM4QUGVS .

shoeper commented 6 years ago

From my point of view the idea is ok, but I don't decide anything and cannot merge PRs.

@freeplant can answer you whether he would merge it or not.

eemil commented 6 years ago

👍

This is a killer feature, I was disappointed to see it didn't work as OP is suggesting.