Remove references to pdf in the doc

It's not only for pdf files anymore.
This commit is contained in:
Eike Kettner 2020-05-27 00:43:27 +02:00
parent c8b5ae7c9d
commit 5679ac4858
2 changed files with 6 additions and 6 deletions

View File

@ -8,13 +8,13 @@ permalink: doc
This is the documentation for Docspell @VERSION@.
Docspell assists in organizing large amounts of PDF files that are
Docspell assists in organizing large amounts of files that are
typically scanned paper documents. You can associate tags, set
correspondends, what a document is concerned with, a name, a date and
some more. If your documents are associated with this meta data, you
should be able to quickly find them later using the search
feature. But adding this manually to each document is a tedious
task. What if most of it could be attached automatically?
should be able to quickly find them later using the search feature.
But adding this manually to each document is a tedious task. What if
most of it could be attached automatically?
## How it works

View File

@ -84,7 +84,7 @@ showUsage() {
echo " -p | --path <dir> The directories to watch. This is required. (value: ${watchdir[@]})"
echo " -h | --help Prints this help text. (value: $help)"
echo " -m | --distinct Optional. Upload only if the file doesn't already exist. (value: $distinct)"
echo " -o | --once Instead of watching, upload all (pdf) files in that dir. (value: $once)"
echo " -o | --once Instead of watching, upload all files in that dir. (value: $once)"
echo ""
echo "Arguments:"
echo " A list of URLs to upload the files to."
@ -196,7 +196,7 @@ process() {
if [ "$once" = "y" ]; then
info "Uploading all files in '$watchdir'."
for dir in "${watchdir[@]}"; do
for file in "$dir"/*.pdf; do
for file in "$dir"/*; do
process "$file"
done
done