From ea76297800f3e72e6584618c126fe818f21bc1ae Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Mon, 14 Nov 2022 06:01:00 -0800 Subject: [PATCH] Fixed help text for , #828 --- osxphotos/cli/import_cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osxphotos/cli/import_cli.py b/osxphotos/cli/import_cli.py index c73edef1..d383746a 100644 --- a/osxphotos/cli/import_cli.py +++ b/osxphotos/cli/import_cli.py @@ -912,7 +912,9 @@ class ImportCommand(click.Command): and you want to exclude /Volumes/Photos from the folder/album path, you can do this: - `osxphotos import /Volumes/Photos/* --walk --album "{filepath}" --relative-to "/Volumes/Photos"` + `osxphotos import /Volumes/Photos/* --walk --album "{filepath.parent}" --relative-to "/Volumes/Photos" --split-folder "/"` + + This will produce folders/albums `2021/Family`, `2021/Travel`, and so on. Note: in Photos, only albums can contain photos and folders may contain albums or other folders.