mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Also improves migrations and updates the db schema docs. Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -10,8 +10,8 @@ import (
|
||||
"github.com/urfave/cli"
|
||||
|
||||
"github.com/photoprism/photoprism/internal/config"
|
||||
"github.com/photoprism/photoprism/internal/get"
|
||||
"github.com/photoprism/photoprism/internal/photoprism"
|
||||
"github.com/photoprism/photoprism/internal/service"
|
||||
"github.com/photoprism/photoprism/pkg/clean"
|
||||
)
|
||||
|
||||
@@ -79,7 +79,7 @@ func copyAction(ctx *cli.Context) error {
|
||||
|
||||
log.Infof("copying media files from %s to %s", sourcePath, filepath.Join(conf.OriginalsPath(), destFolder))
|
||||
|
||||
w := service.Import()
|
||||
w := get.Import()
|
||||
opt := photoprism.ImportOptionsCopy(sourcePath, destFolder)
|
||||
|
||||
w.Start(opt)
|
||||
|
||||
Reference in New Issue
Block a user