mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Upload zip files contents as independent files
This commit is contained in:
@ -53,6 +53,7 @@ specified via a JSON structure in a part with name `meta`:
|
||||
, fileFilter: Maybe String
|
||||
, language: Maybe String
|
||||
, attachmentsOnly: Maybe Bool
|
||||
, flattenArchives: Maybe Bool
|
||||
}
|
||||
```
|
||||
|
||||
@ -95,7 +96,16 @@ specified via a JSON structure in a part with name `meta`:
|
||||
`*.eml`). If this is `true`, then the e-mail body is discarded and
|
||||
only the attachments are imported. An e-mail without any attachments
|
||||
is therefore skipped.
|
||||
|
||||
- `flattenArchives` is flag to control how zip files are treated. When
|
||||
this is `false` (the default), then one zip file results in one item
|
||||
and its contents are the attachments. If you rather want the
|
||||
contents to be treated as independent files, then set this to
|
||||
`true`. This will submit each entry in the zip file as a separate
|
||||
processing job. Note: when this is `true` the zip file is just a
|
||||
container and doesn't contain other useful information and therefore
|
||||
is *NOT* kept in docspell, only its contents are. Also note that
|
||||
only the uploaded zip files are extracted once (not recursively), so
|
||||
if it contains other zip files, they are treated as normal.
|
||||
|
||||
# Endpoints
|
||||
|
||||
|
Reference in New Issue
Block a user