mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CLI: Create thumbs and convert files in deterministic order #3194
This also adds support for specifying a path to the thumbs command. Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -13,11 +13,11 @@ import (
|
||||
"github.com/photoprism/photoprism/pkg/clean"
|
||||
)
|
||||
|
||||
// ConvertCommand registers the convert cli command.
|
||||
// ConvertCommand configures the command name, flags, and action.
|
||||
var ConvertCommand = cli.Command{
|
||||
Name: "convert",
|
||||
Usage: "Converts files in other formats to JPEG and AVC as needed",
|
||||
ArgsUsage: "[sub-folder]",
|
||||
ArgsUsage: "[subfolder]",
|
||||
Flags: []cli.Flag{
|
||||
cli.StringSliceFlag{
|
||||
Name: "ext, e",
|
||||
|
||||
Reference in New Issue
Block a user