Skip to content

TagSpaces is an offline, open source, document manager with tagging support

polish: added description and help information

Ilian Sapundshievf7cb5130704e
diff --git a/scripts/thumbgen.sh b/scripts/thumbgen.sh
index a09fdd56a..07952f680 100755
--- a/scripts/thumbgen.sh
+++ b/scripts/thumbgen.sh
@@ -1,7 +1,28 @@
#!/bin/bash
#===============================================
-# generate thumbnail images for tagspaces
+# generate TagSpaces compatible thumbnails from images files
+# with the help imagemagic
+# supporting: jpg,png,gif,bmp,svg,webp,tiff
#===============================================
+# usage:
+# chmod +x thumbgen.sh
+# ./thumbgen.sh /home/username/photos
+#===============================================
+# TagSpaces - universal file and folder organizer
+# Copyright (C) 2017-present TagSpaces UG (haftungsbeschraenkt)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License (version 3) as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
generate_thumbnails() {
dirname="$1"