Open koppor opened 7 months ago
The other way round is working:
With file directory pattern, JabRef can automatically create subfolders and move the files into the directory based on the defined pattern. As an example, you have a single folder, e.g. papers for all your PDFs linked to their corresponding entry in JabRef. Now you want to arrange them according to defined groups. Let's say you have two groups, Automation and Biology, with a couple of entries. Now set the file directory pattern to: [groups:(unknown)]
Hi! We are a group of 5 uni students who'd like to try and tackle this issue. We would love to be assigned to this issue and if there's anything extra to help us get started that would be much appreciated as well!
Howdy! I'd love to give this issue a go. Could I please be assigned to it?
Welcome to the vibrant world of open-source development with JabRef!
Newcomers, we're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.
Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.
Happy coding! 🚀
Howdy - I just wanted to document that I haven't abandoned this. I foolishly grabbed this issue before a bunch of travelling, but that's all over now.
As user, I organize my PDFs in folders. Example:
When one wants to have this hierarchy in JabRef, one needs to manually create groups and sub groups.
A new type of group "Directory structure" should be created:
JabRef then mirrors the directory structure in the group tree. Sub groups are automatically created.
Currently: Only inbound mirroring. Use WatchService to watch for changes.
All BibEntries having a file in the selected directory belong to that group.
File added to a folder -> automatically added to the respective group and a new BibEntry created (with PDF import)
Implementation hint:
DirectoryUpdateMonitor
(similar to org.jabref.model.util.FileUpdateMonitor) which watches directories and sends updates to the group tree (see third bullet point at https://github.com/JabRef/jabref/pull/10937#issuecomment-1975224043 in another context)Future work:
Related issues: