Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] nested exports #1262

Closed
mtettke123 opened this issue Jan 8, 2022 · 2 comments
Closed

[feature request] nested exports #1262

mtettke123 opened this issue Jan 8, 2022 · 2 comments
Labels
dsc Issues atcually regarding the dsc (command line tool)

Comments

@mtettke123
Copy link

Hi,

trying to understand the export command and having a discussion here, this is to write down how I wish exports would be possible. My objective is to generate a (nested) directory structure, that is easy to sync and can be accessed without docspell, something like

"{correspondent}/{document_type}/{created_year}-{created_month}-{created_day} {title}"

  1. For this, there should be an export mode like with-structure="{correspondent}/{category:document-type}/..." where you can specify how exactly documents are exported using the placeholders like in searches.
  2. As I don't need the metadata (DB is backuped anyway), an option --without-metadata would also be helpfull to don't export data I don't need here.
  3. An option like --no-subdir-on-single-file (or maybe --flat or --direct-link-on-single-file?) could link entities, that have only one PDF attached (>90% in my use case) directly.
  4. As far as I understand the documentation, only the original files, not the processed PDF/A-files are exported. A switch to change this behaviour would be great.

Just ideas and wishes here.

@eikek eikek added the dsc Issues atcually regarding the dsc (command line tool) label Jan 8, 2022
@eikek
Copy link
Owner

eikek commented Jan 8, 2022

Thank you - this all makes sense and would be a nice addition! All points can be addressed individually, if someone likes to pickup some of them, would be great! Note that this concerns the dsc command line utility, which is written in Rust.

@eikek
Copy link
Owner

eikek commented Feb 12, 2022

Hey! I created single issues in the docspell/dsc repository, so I'm closing this one. Thanks again for your input!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dsc Issues atcually regarding the dsc (command line tool)
Projects
None yet
Development

No branches or pull requests

2 participants