jdberry / tag

A command line tool to manipulate tags on Mac OS X files, and to query for files with those tags.
MIT License
1.47k stars 94 forks source link

Tags not removed at all #59

Open kenj1 opened 4 years ago

kenj1 commented 4 years ago

I'm using Tag version 0.10_1 on an iMac High Sierra.

I'm using "tag --remove * filename.mp4" to remove all tags. And, "tag -l filename.mp4" shows that no tags are on the file. However, if I go to Finder info for the file, it still shows multiple tags that I was trying to remove. This is happening on all files that I've attempted this on. The files are located on a Synology Raid drive attached (via ethernet) in my office to the imac.

billiehawkins commented 3 years ago

I"m experiencing this as well. The wildcard doesn't seem to work with the -r --remove flags.

Any workarounds?

mrzool commented 3 years ago

Quoting the tag wildcard solves the problem for me. This command worked to remove all tags from all files in the current directory:

tag -r '*' *
billiehawkins commented 3 years ago

Quoting the tag wildcard solves the problem for me. This command worked to remove all tags from all files in the current directory:

tag -r '*' *

This ABSOLUTELY works, thank you!

luckman212 commented 2 years ago

It would be nice to have something besides the wildcard * char to use, because when using inside other loops or as arguments to e.g. find...exec commands, you sometimes can't use single quotes.