From 956ece60afad9e06312ea64dfb02af98101684d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 29 Mar 2025 13:35:29 +0100 Subject: [PATCH] Added documentation for attachments download command --- docs/usage/console_commands.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/usage/console_commands.md b/docs/usage/console_commands.md index d23f10c4..e5197251 100644 --- a/docs/usage/console_commands.md +++ b/docs/usage/console_commands.md @@ -71,3 +71,9 @@ docker exec --user=www-data partdb php bin/console cache:clear * `php bin/console doctrine:migrations:migrate`: Migrate the database to the latest version * `php bin/console doctrine:migrations:up-to-date`: Check if the database is up-to-date + +## Attachment commands + +* `php bin/console partdb:attachments:download`: Download all attachments, which are not already downloaded, to the + local filesystem. This is useful to create local backups of the attachments, no matter what happens on the remote and + also makes pictures thumbnails available for the frontend for them \ No newline at end of file