feat(api): create bulk_import command

- filter by allowed_extensions
This commit is contained in:
jo 2022-06-15 15:59:18 +02:00 committed by Kyle Robbertze
parent be9f36dbdc
commit 70a31338f7
9 changed files with 299 additions and 0 deletions

View file

@ -0,0 +1,16 @@
---
title: Library management
sidebar_position: 30
---
This page describe the available options to manage the LibreTime library.
## Files bulk import
To scan a directory and import the files into the library, you can use the following command:
```bash
sudo -u www-data libretime-api bulk_import --path PATH_THE_DIRECTORY_TO_SCAN
```
See the command usage to get available options.