Skip to content

Allow the user to select which folders to include/exclude during full account refresh #960

Closed

Description

Coming from #953, I would like to propose a new feature to let the user select which folders in the server they want to synchronize (as see in the Android client at all, I'm not talking about 2-way sync or anything like that).

For example, I have a lot of files in my server, but I only keep a small folder with a few files that I want to access in my phone. I don't want to be even able to access the other folders in my phone, only that one, so I would like to be able to set up the android client to only see that particular folder.

BTW, this is how the desktop client (at least in linux) works.

Activity

  1. drkmccy commented on Apr 24, 2015

    @drkmccy

    This might work for you: Create a new user called mobile (or whatever you want). Share the folder with that user. Sign into the android client as that mobile user.

  2. masensio commented on Apr 30, 2015

    @masensio

    Hi @leandro-lucarella-sociomantic,

    I'm confused with the description of this issue, because in #953 you said that you need to avoid to synchronize some folders, not to select which folders you want to sync.

    (Comment in #953)
    leandro-lucarella-sociomantic commented 8 days ago

    No, I mean the exact opposite, to be able to tell the android client to absolutely ignore some folders. In the desktop client is the other way around, instead of having automatic access to the root directory, you set up which folders you want to sync to. So, I have like 3 top-level folders. 1 that is he only one is important to me to be accessible in the phone and with just a few files, and 2 that have a big number of subfolders. If I could tell the android client to only look at that small subfolder, that would let me use the owncloud client in android, which now for me is absolutely not an option.

    If you need "Allow the user to select which folders to synchronize", this issue is duplicated (it is included in #3)

  3. leandro-lucarella-sociomantic commented on Apr 30, 2015

    @leandro-lucarella-sociomantic
    Author

    I'm confused with the description of this issue, because in #953 you said that you need to avoid to synchronize some folders, not to select which folders you want to sync.

    Both white lists and black lists would be ideal ;-)

    If you need "Allow the user to select which folders to synchronize", this issue is duplicated (it is included in #3)

    I think the confusion here comes from the terminology, I'm sorry if I'm using it incorrectly. By "synchronize", I don't mean "two-way sync" as #3 does. I'm just referring to folders being visible by the android client at all. I'm am talking about the current status of the android app, not about two-way sync.

    All I want to do is to have a way to tell the android app to completely ignore some folders (black list) or to only show some folders, ignoring anything else (white list).

    Does this clarify what I mean?

  4. drkmccy commented on Apr 30, 2015

    @drkmccy

    @leandro-lucarella-sociomantic
    Just make a user and share the folder with that user, like I mentioned earlier, simple.

  5. leandro-lucarella-sociomantic commented on Apr 30, 2015

    @leandro-lucarella-sociomantic
    Author

    @derekblankmccoy Thank's for the advice, but that doesn't work if you don't control the server and you can't create more users for yourself.

  6. drkmccy commented on Apr 30, 2015

    @drkmccy

    Oh, the post says its your server

  7. leandro-lucarella-sociomantic commented on Apr 30, 2015

    @leandro-lucarella-sociomantic
    Author

    Oh, the post says its your server

    Yes, I have my own server, but still, I'm addressing this issue in a more general way than just my particular personal problem. :)

  8. djrarky commented on May 1, 2015

    @djrarky

    +1
    I want to sync 1Password with my phone.

  9. davidchisnall commented on May 15, 2015

    @davidchisnall

    +1 Before I go on a trip I create a new folder with all of the information I'm going to need and I'd love to be able to have a one-tap way of ensuring that everything in that folder is on my phone / tablet. I currently have to go through and individually select each item, select 'details' from the menu, and then tick 'keep up to date'. When I get back, I need to do the same thing again in reverse. Even having a 'keep up to date' checkbox on the list would reduce the number of taps to a third...

  10. gerroon commented on May 24, 2015

    @gerroon

    Why cant we have keep up to date with folders as well? Having it only with files is very tedious unless you are sharing only couple files.

  11. rperezb commented on May 25, 2015

    @rperezb

    @davidchisnall on the Android app there is an option "download folder", if you do long press over a folder it is shown, if you select it, the behavior is what you are asking for: "have a one-tap way of ensuring that everything in that folder is on my phone / tablet"
    The reverse, "keep-up-to-date" folders is still not implemented and it will come in future versions, as it is on the files.

  12. 15 remaining items

  13. changed the title [-]Allow the user to select which folders to synchronize[/-] [+]Allow the user to select which folders to include/exclude during full account refresh[/+] on Jul 2, 2015
  14. malkomich commented on May 25, 2016

    @malkomich
    Contributor

    You can track this issue in the following discussion: #1136, which try to handle all features related to folder synchronization.

  15. leandro-lucarella-sociomantic commented on May 25, 2016

    @leandro-lucarella-sociomantic
    Author

    So you'll basically be able to map a folder in the phone to a folder in the owncloud server after that issue is fixed? That's the idea?

  16. davivel commented on May 25, 2016

    @davivel
    Contributor

    No, what you describe is #1136 + #1663 (for contents under the local ownCloud folder) , and #744, for contents out of local ownCloud folder.

  17. leandro-lucarella-sociomantic commented on May 25, 2016

    @leandro-lucarella-sociomantic
    Author

    OK, so with #1136 the sync function of owncloud will only refresh the selected folders, not everything that's available in the owncloud server. Is that it? I'm sorry but I'm having trouble to see the relationship between this issue and #1136 (or how #1136 will address this issue).

  18. llucax commented on Sep 20, 2016

    @llucax

    @davivel ping?

  19. davivel commented on Sep 27, 2016

    @davivel
    Contributor

    Sorry, @llucax .

    I guess your problem is you have tons of files and you don't want to waste battery & network synchronizing them, but you still want to use automatic synchronization of part of the file tree, right?

    You are right, it's a different detail. We'll keep it as a separate case.

  20. leandro-lucarella-sociomantic commented on Sep 27, 2016

    @leandro-lucarella-sociomantic
    Author

    Yup, some files I only care to be able to get on-demand, and some files I want to keep in sync. Even completely ignoring some files would be fine (as I do with the desktop client, where I can just pick which files to synchronize).

  21. DeepDiver1975 commented on Jun 26, 2026

    @DeepDiver1975
    Contributor

    🤖 Automated issue triage by Claude Code review agent.

    This issue was opened before 2020 and has had no activity since then, so we are
    closing it as outdated. If this is still relevant on a current ownCloud release,
    please reopen (or open a fresh issue) with up-to-date details — thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions