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

tmsu tags --name=never seems to imply -1 #250

Open
TheChymera opened this issue Jun 13, 2022 · 1 comment
Open

tmsu tags --name=never seems to imply -1 #250

TheChymera opened this issue Jun 13, 2022 · 1 comment

Comments

@TheChymera
Copy link

TheChymera commented Jun 13, 2022

I'm trying to use tmsu as part of some scripts to get a better handle on my image files, and it seems a bit tricky to nicely put the tags into bash variables:

chymera@decohost ~/Pictures/collections/2022-06-05-South $ echo "$(tmsu tags nd750_b3551.JPG)"
nd750_b3551.JPG: a=aligator g img
chymera@decohost ~/Pictures/collections/2022-06-05-South $ echo "$(tmsu tags nd750_b3551.JPG --name=never)"
a=aligator
g
img
chymera@decohost ~/Pictures/collections/2022-06-05-South $ echo "$(tmsu tags nd750_b3551.JPG -1)"
nd750_b3551.JPG:
a=aligator
g
img
@oniony
Copy link
Owner

oniony commented Jun 13, 2022

Interesting, yep that seems like a bug alright. For now I can only suggest doing:

echo "$(tmsu tags -1 --name=never file | xargs)"

The -1 such that it continues to work once the bug is fixed.

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

2 participants