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

Escaping square brackets #15

Closed
tsani opened this issue Jun 2, 2017 · 1 comment
Closed

Escaping square brackets #15

tsani opened this issue Jun 2, 2017 · 1 comment

Comments

@tsani
Copy link

tsani commented Jun 2, 2017

I've just about tried every imaginable quoting and escaping scheme to get id3 to update a tag on a file whose name contains a pair of square brackets. The offending file name is Snowfall (Extended Mix) [feat. Laura Brehm]-102047348.mp3. I would have figured that backslashes would do the job, but they don't.

  % id3 'Snowfall (Extended Mix) \[feat. Laura Brehm\]-102047348.mp3'
id3: no files matching Snowfall (Extended Mix) \[feat. Laura Brehm\]-102047348.mp3

Is this a bug, or is there an undocumented different way to escape such a filename?

On a related note, it might be worthwhile to add a "literal" flag to disable interpretation of all special characters in filespecs, so that individual files can be more easily targeted. (My use case is to invoke id3 from a script, and I'm only targeting individual files.)

@tsani
Copy link
Author

tsani commented Jun 2, 2017

Well, just like #13, this is a duplicate of #7. Apologies for the spam.

@tsani tsani closed this as completed Jun 2, 2017
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

No branches or pull requests

1 participant