Skip to content

Add support for Sidecar files#154

Open
rconn01 wants to merge 2 commits intoandrewning:masterfrom
rconn01:LivePhotos
Open

Add support for Sidecar files#154
rconn01 wants to merge 2 commits intoandrewning:masterfrom
rconn01:LivePhotos

Conversation

@rconn01
Copy link
Copy Markdown

@rconn01 rconn01 commented Mar 28, 2023

This builds on top of #153 as the two features make sense independently.

The goal of this commit is always move sidecar files along with the main image. Many photo apps use sidecars as json or xml or xmp files. These sidecars need to match the main image file in name and just differ in extension. If sortphotos moves an image file the sidecar file should move (and rename with it). This PR introduces that with the introduction of the --sidecar-extensions option. When past the list of extensions are looked for, and if the side car exists it moves with the main file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant