Start a new topic

3.7.1 experimental subfolders

Has anyone had any success enabling the experimental subfolders with iCloud?


I'm having trouble syncing in the app even though I have made changes in my org dir and I'm not sure if it is an issue with the feature or my unfamiliarity with iCloud syncing. I'm used to Dropbox.


One issue is that I can see my the directory "roam", but there are no files in it.


In the latest release of beorg you can enable support for subfolders if you are using WebDAV (also iCloud but a few issues). To do so add the following to your beorg init.org:


(set! sync-subfolders #t)


When you then restart beorg you'll see a new notes tab (which shows files from a notes directory you can configure on the Settings tab) and the ability to navigate and manage folders on the files tab. You can also refer to the folders in template filenames.


Let me know how you get on!


2 people like this

At the moment subfolders is only implemented for WebDAV and iCloud. I'm hoping to complete the work on the other sync systems (Dropbox and Box) soon-ish and make generally available in beorg. I'll be releasing beta builds as and when Dropbox is supported.


2 people like this

I'll look to spend some time revisiting this, at the very least to get the basic use case of folders working for WebDAV and iCloud.


2 people like this

Thank you for reporting this issue. I've tracked down the problem and it is a beorg issue rather than anything with your configuration. I hope to get a fix out in the next couple of days for this.


2 people like this

Sorry - just seen your other post which was in an approval queue. Make sure you've restarted beorg after adding that line, and that it is in a source block. Check out https://beorg.app/learning/initorg/ for more details on the init.org file.


1 person likes this

There is a beorg update out today which extends subfolder support to the "choose folder" sync method. So now subfolders are supported on all sync methods except for Box. The new update, 3.15.0, will be rolling out over the next 7 days - or you can manually install via the updates section in the App Store app.


1 person likes this

The issue here would be that people would expect syncing between beorg and the other app - which may be tricky. I personally add some notes to beorg, or more commonly use Tot and then create notes I want to keep when back in Emacs. I'm not currently therefore particularly familiar with current plain text note taking apps which could be feasibly used as you've described.


It would be interesting to here what people use for notes, who are also keen on ensuring they are kept in plain text - and would maybe prefer to use beorg eventually.


beorg does now have a database which it caches information from the org files it manages. My hope is to migrate those parts of beorg which currently query the files directly to use the database. At this point it becomes much more feasible to position beorg as a note taking app which can comfortably manage thousands of small files each of which contains a single note - with support for easy linking between them.


1 person likes this

Thanks Richard for providing the log. My understanding is that Dropbox supports internal (that is in Dropbox to other folders within Dropbox) symbolic links. Do you by any chance have any of those that potentially might be confusing beorg? (It is odd in your log that the first request made to Dropbox takes a while, but then the subsequent ones return quite quickly.) I'm updating the Dropbox debug so that it includes the number of files/folders returned with each response from Dropbox which may help further diagnose this.


1 person likes this

Hey folks, any luck with subfolder support for iCloud? I can't seem to get my daily folder to sync.


I used the "Choose folder" method, and pointed it at a shared iCloud directory. The contents are syncing (in the root directory), but not the subfolders.


Any ideas?

Hey Matthew, I upgraded to 3.15.0 but no luck with subfolders yet. I see a single subfolder (it was there previously) but it's empty. I "unlink"ed and relinked with no changes. Is there something else I can try short of deleting/reinstall the app?


Thank you


Dmitry


No worries @Matt, and thank you for your further follow up My notes are stored in roam folder on iCloud. I can change the folder (using iCloud sync method) but the folder has to be inside the beorg app folder. For this reason, I was initially using the Choose Folder sync method
@ashish sorry for the delay getting back to you. Where are your notes stored? In the “notes” or “roam” directory? You can change which directory to store your notes from beorg in the settings menu in the “Notes folder” text box.

@Matt, I played around with this a bit more:

1) I copied my notes folder on the iPhone. The result was the same. I can see the new notes tab, and files from the main notes folder. Sub folders and the notes therein are not visible.

2) I copied my notes to the berg folder on iCloud. Upon restarting the app, the sub folders magically appeared!


I hope there can be a way to run this on my original notes folder on iCloud.

I wonder if the sync icon on top right means anything?
Unable to get this to work on iCloud. I am using the choose folder sync method and added init.org with the following text: #+begin_src scheme (set! sync-subfolders #t) #+end_src
Login or Signup to post a comment