diff --git a/modules/microsite/docs/doc.md b/modules/microsite/docs/doc.md index be4b4c92..81aed022 100644 --- a/modules/microsite/docs/doc.md +++ b/modules/microsite/docs/doc.md @@ -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 diff --git a/tools/consumedir.sh b/tools/consumedir.sh index c3cd0d5b..41cdbfaf 100755 --- a/tools/consumedir.sh +++ b/tools/consumedir.sh @@ -84,7 +84,7 @@ showUsage() { echo " -p | --path 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