Page 1 of 1

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

PostPosted: 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.

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

PostPosted: Thu Apr 27, 2017 4:25 pm
by Mr_Noodle
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/

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

PostPosted: 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!!!