Jump to content

Add tag to selected files


Recommended Posts

  • 1 month later...
  • 4 weeks later...
  • 2 years later...
  • 3 months later...
  • 2 months later...
  • 1 year later...
  • 4 months later...

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 by pankajsz
Link to comment
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
  • 3 weeks later...
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

@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
  • 2 weeks later...
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

Screenshot 2022-07-29 at 21.26.07.jpg

Edited by OmarKN
Mac OS 10.14.6
Link to comment

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

Screenshot 2022-07-30 at 16.07.13.jpg

Link to comment
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.

  1. Select some files
  2. Press the Universal Actions shortcut
  3. Go to Add Tags…
  4. Press ↩
  5. Write your tag
  6. Press ↩

Link to comment

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

 

Screenshot 2022-07-30 at 16.46.50.jpg

Link to comment

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

Screenshot 2022-07-30 at 19.11.08.jpg

Link to comment

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 by OmarKN
This time the Label workflow did work.
Link to comment

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...