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

feat: add forceWrite option for tag extraction #222

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mertalev
Copy link

@mertalev mertalev commented Dec 2, 2024

Description

The current behavior for tag extraction is to fail when the destination path already has a file. This PR adds an option to change the -w setting to -w! so exiftool overwrites it instead. I made this an optional flag to preserve current behavior, but it does make things more complicated than just changing it to always use -w!.

Note: I was unable to test this locally because I got CJS-related errors. I'm hoping the GitHub checks can handle this part 😄

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