Add a tag for all files in a subfolder...

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Add a tag for all files in a subfolder... Thu Apr 27, 2017 3:30 pm • by RMeira
Hi,
I need to add a tag for all files in a Folder based in a Folder tag. So, I created a rule like this:
Kind is folder
Tags contain tags XX

So, I need to add a tag in all files on this folder at once. I think the only way is an Applescript but I don't know how to do it.

I really appreciate your help.

Thanks in advance.
RMeira
 
Posts: 16
Joined: Thu Apr 27, 2017 3:22 pm

Instead of matching the folder, you need to match the files within.

First, check out the sticky article on going into subfolders. Once you have that rule, create ANOTHER rule as follows:
Code: Select all
If (all) are met
    If (all) are met for (the enclosing folder)
        Tags contains tags XX


That will match all files whose folder has the XX tag. To get the nested condition, see this article: https://www.noodlesoft.com/kb/how-to-cr ... onditions/
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Add a tag for all files in a subfolder... Fri May 12, 2017 11:41 am • by RMeira
Thanks!!!

I finish the implementation of my idea. Thanks!!!
It's a full version and lifecycle control for folders and files - including options as Aging and Advanced Version History. There are 3 version controls types: manual version, automatic version and advanced automatic version. Besides, there's a full automatic files lifecycle control - archive, historical and RIP.
It works as a clock - reliable and efficient.
Is there a NoodleSoft marketplace to offer this package rules?
Thanks!!!
RMeira
 
Posts: 16
Joined: Thu Apr 27, 2017 3:22 pm


Return to Support