Commit Graph

12 Commits

Author SHA1 Message Date
Eike Kettner
88c16d1bbe Add skipDuplicates option to upload in consumedir
The `-m` setting checks before upload if a file exists. It is now also
checked when the file is being processed.
2020-11-23 23:52:12 +01:00
Eike Kettner
631e6abbfd Skip hidden files in consumedir 2020-11-23 23:00:05 +01:00
Eike Kettner
67d2e93c4d Check setup when using integration endpoint
Public upload urls cannot be checked like that currently.
2020-11-23 22:48:22 +01:00
Eike Kettner
abecfeafec Add curl response to stdout if it fails
Apparently, it must be called with `-v` otherwise it is silent.
2020-11-23 22:17:14 +01:00
Eike Kettner
89bbb5247e Fix consumedir to handle files/directories with spaces 2020-09-20 21:34:38 +02:00
Eike Kettner
df73bc6285 Fixes for consumedir.sh
- The `-e` option on realpath is not available in busybox
- Avoid creating sha checksum twice
2020-06-28 13:37:39 +02:00
Eike Kettner
8500d4d804 Extend consumedir.sh to work with integration endpoint
Now running one consumedir script can upload files to multiple
collectives separately.
2020-06-28 00:08:37 +02:00
Eike Kettner
d13e0a4370 Add a recursive option to consumedir 2020-06-27 01:14:34 +02:00
Eike Kettner
5679ac4858 Remove references to pdf in the doc
It's not only for pdf files anymore.
2020-05-27 00:44:04 +02:00
Eike Kettner
eb6c483ef0 Add route to check for files by their checksum
Adopt scripts in `tools/` to check for existing files using these
routes.
2019-12-31 23:45:02 +01:00
Eike Kettner
30b5c9d7f8 Add new a tool ds.sh
A commandline script to upload given files to docspell. The URLs can
be configured using a configuration file.
2019-09-21 22:02:37 +02:00
Eike Kettner
6ce7096af0 Add consumedir.sh script
Script for watching a directory for new files and uploading them to
docspell.
2019-09-21 22:02:36 +02:00