mBax Posted August 14, 2017 Share Posted August 14, 2017 Add a tag to files selected in finder. - select files - type "ftag" to alfred - type the argument (argument is the name of the tag) https://github.com/StarBax89/alfredworkflow.addatag zurdor 1 Link to comment
pacifist Posted October 8, 2017 Share Posted October 8, 2017 Great concept. Thanks for creating this! However, it's not working on my system: MacOS 10.12.6. Also, as a feature it would be great if there was a fuzzy search function that would populate Alfred results with existing tags . Link to comment
mBax Posted October 31, 2017 Author Share Posted October 31, 2017 Well, maybe I forgot to say, that you have to install "tag" before -.- https://github.com/jdberry/tag/ Link to comment
shadylane Posted January 23, 2020 Share Posted January 23, 2020 A little late to the party, but: THANK YOU, this is exactly what I have been looking for :) Link to comment
llityslife Posted May 15, 2020 Share Posted May 15, 2020 If possible auto list the exist tags, then use to tag file dterranova 1 Link to comment
saiyajin Posted August 7, 2020 Share Posted August 7, 2020 Love the Workflow, but it seems space characters in file names are not escaped and result in failure of the script... Link to comment
TomBenz Posted February 2, 2022 Share Posted February 2, 2022 Use quote form of file to make it work for items with space characters Link to comment
TomBenz Posted June 25, 2022 Share Posted June 25, 2022 (edited) How can one export all files tag into one csv file etc so that it can be reapplied on new MacBook or if tags are lost? It is lot of work to tag files and it seems OneDrive sync removes it if you make the files on demand (as meta data is not synced). I know it is more of AppleScript but still hoping tag user will have some solution for this problem relevant link that I found: https://discussions.apple.com/thread/250604400 This script exports tag out -- have to edit and make it go into sub-folder as well. Help please @vitor -- will need AppleScript to apply export tags back to files using Tag. https://answers.microsoft.com/en-us/msoffice/forum/all/where-are-my-finder-tags-in-onedrive-mac/2aac1526-917f-41b2-a332-21109789e8d5 Microsoft has no clue on the mess that their recent update on OneDrive is creating for user. See the link above. Edited June 25, 2022 by pankajsz Link to comment
vitor Posted June 25, 2022 Share Posted June 25, 2022 @pankajsz That is a bug in Microsoft software which they seem interested in solving. The proper way to go about it is to give Microsoft more details about the issue so they can understand and fix it. Link to comment
TomBenz Posted June 25, 2022 Share Posted June 25, 2022 54 minutes ago, vitor said: @pankajsz That is a bug in Microsoft software which they seem interested in solving. The proper way to go about it is to give Microsoft more details about the issue so they can understand and fix it. Yes, but this will take a while. with help of user on apple forums (Viking), I now have number file with two columns Fullpath (new location) and other with tags. How can re-apply it using Tag command line utility? Link to comment
OmarKN Posted July 16, 2022 Share Posted July 16, 2022 On 10/31/2017 at 10:17 PM, mBax said: Well, maybe I forgot to say, that you have to install "tag" before -.- https://github.com/jdberry/tag/ hi mBax, I downloaded the tag-0.10.zip file, double-clicked on it, something happened - but I can't find the expanded file. Terminal: -bash: tag: command not found What to do? / with best regards, Omar KN, Stockholm, Sweden Link to comment
vitor Posted July 16, 2022 Share Posted July 16, 2022 @OmarKN The page could indeed be more explicit about how to install the tool. You need to install Homebrew and brew install tag. But if you’re on Apple Silicon, the install location will be different from what the Workflow expects. As an alternative, I just updated LabelColor to support tags. No prior setup is required. Link to comment
OmarKN Posted July 29, 2022 Share Posted July 29, 2022 (edited) On 7/16/2022 at 6:17 PM, vitor said: @OmarKN … just updated LabelColor to support tags. … With LabelColor no tag is produced, sorry. See image - this is what I did: - but no tag visible in file… /okn Edited July 29, 2022 by OmarKN Mac OS 10.14.6 Link to comment
vitor Posted July 29, 2022 Share Posted July 29, 2022 You’ve changed the Workflow and are calling the Keyword from the middle of the task. You’re not supposed to call the Keyword yourself, which is why it isn’t set up to be called directly. The Workflow is to be used via Universal Actions. Link to comment
OmarKN Posted July 30, 2022 Share Posted July 30, 2022 So I removed the old hotkey (above CTRL - SH - 6 ) and seemingly I can use Universal Actions. In pic 1 I open Universal Actions What I could do was setting a color tag from the palette with ”Labels” but no text tags: pic2. "add" gives me 2 alternatives - dont know why. Anyway pic3 "addt" gives 1 alternative at enter, nothing happens pic4 ”flaggv” is the tag I wanted to set, no success. BTW earlier I wanted to test the other tag workflow, but only downloaded the tag-master. /okn Link to comment
vitor Posted July 30, 2022 Share Posted July 30, 2022 2 minutes ago, OmarKN said: "add" gives me 2 alternatives - dont know why. Because, as explained above, you’ve edited the Keyword. Don’t. And you keep searching for addt. First, delete what you have and reinstall the Workflow. You‘re not on the latest version.Select some filesPress the Universal Actions shortcutGo to Add Tags…Press ↩Write your tagPress ↩ Link to comment
OmarKN Posted July 30, 2022 Share Posted July 30, 2022 Mac OS 10.14.6 Alfred 5.0.1 Hi Vitor,I deleted and reinstalled the Workflow. and updated to the latest version. But sorry no success. / with best regards, Omar KN, Stockholm, Sweden Link to comment
vitor Posted July 30, 2022 Share Posted July 30, 2022 You are not on the latest version, I can tell from the icon. It works with the steps I gave you, I don’t know how to break it down further. Link to comment
OmarKN Posted July 30, 2022 Share Posted July 30, 2022 Is this not the latest version? 5.0.1 Link to comment
OmarKN Posted July 30, 2022 Share Posted July 30, 2022 Hi, Removed the older version of the Workflow and updated to the latest one (…-2). Doesn't work either. The difference is before I could use the Labels , this worked. Now neither Labels, nor Tags work. But it's not that important, so maybe in the future… /okn Link to comment
vitor Posted July 30, 2022 Share Posted July 30, 2022 Open the debugger, set the log output to “All Information”, perform the failing action, and post the output. Link to comment
OmarKN Posted July 30, 2022 Share Posted July 30, 2022 (edited) The debugger: [21:02:12.606] LabelColor[File Action] Processing complete [21:02:12.610] LabelColor[File Action] Passing output '/Users/okn/LC3b-wout-Movies/Documents-LC3/_social-media-outreach-soc-med/_facebook/_facebook identities/skhm fb identities 2018.rtfd' to Arg and Vars [21:02:12.611] LabelColor[Arg and Vars] Processing complete [21:02:12.611] LabelColor[Arg and Vars] Passing output '' to Keyword [21:02:22.951] LabelColor[Keyword] Processing complete [21:02:22.956] LabelColor[Keyword] Passing output 'ids' to Run Script [21:02:23.809] ERROR: LabelColor[Run Script] override r-xr-xr-x okn/staff for /Users/okn/Library/Application Support/Alfred/Workflow Data/com.vitorgalvao.alfred._sharedresources/bin/tag? (y/n [n]) not overwritten dyld: lazy symbol binding failed: Symbol not found: _objc_opt_new Referenced from: /Users/okn/Library/Application Support/Alfred/Workflow Data/com.vitorgalvao.alfred._sharedresources/bin/tag (which was built for Mac OS X 12.0) Expected in: /usr/lib/libobjc.A.dylib dyld: Symbol not found: _objc_opt_new Referenced from: /Users/okn/Library/Application Support/Alfred/Workflow Data/com.vitorgalvao.alfred._sharedresources/bin/tag (which was built for Mac OS X 12.0) Expected in: /usr/lib/libobjc.A.dylib [21:02:23.818] LabelColor[Run Script] Processing complete [21:02:23.819] LabelColor[Run Script] Passing output '' to Run Script Plus: This time the Label workflow did work. Edited July 30, 2022 by OmarKN This time the Label workflow did work. Link to comment
vitor Posted July 30, 2022 Share Posted July 30, 2022 Is your macOS version lower than 12.0 (Monterey)? If so, install Homebrew (run that command in a terminal) followed by brew install tag. If you provide the output, I can confirm if everything went as expected. Link to comment
OmarKN Posted August 1, 2022 Share Posted August 1, 2022 here is what I got: i5-1791:~ okn$ brew install tag Warning: You are using macOS 10.14. We (and Apple) do not provide support for this old version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this old version. ==> Downloading https://ghcr.io/v2/homebrew/core/tag/manifests/0.10_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/tag/blobs/sha256:ee5dbe68476b6a ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Pouring tag--0.10_1.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/tag/0.10_1: 6 files, 59.5KB ==> Running `brew cleanup tag`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). i5-1791:~ okn$ Link to comment
vitor Posted August 1, 2022 Share Posted August 1, 2022 The Workflow should be working now, then. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now