Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Sidecar files #154

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rconn01
Copy link

@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