Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

olig

macrumors newbie
Original poster
Aug 16, 2008
8
0
I have just started to use labels. It seems like a cool idea. What i want to do is that every image/photo file & folder to be the colour yellow for example or every music file & folder to be the colour blue. As i began to do this i realised i had to go into each and every folder highlight all its files and choosing a colour and then choosing the folder and labelling that, which i could use for a bit until i got onto my music files.It was a pain because i have to label the artist, then label every album, then open every album and label every song. So my question is, is there anyway so that when you label a folder it labels everything that is inside the folder automatically? I don't mind using a 3rd party application, anything that will get the job done. Replies are appreciated.
oli
 
I found a simple solution...

IIt's really amazing that this is not something you could just do from contextual menus in Mac OS X... And I couldn't find any third party application to do this. However, Automator allows a simple solution... Try this workflow:

1. From Automator's library, choose "Find Finder Items" (1)

2. Next, add "Label Finder Items" (2)

3. For the first action (1), choose the folder ("Where") in which you wish to batch label the files (including files in sub-folders);

4. Still in action 1, choose, in "Whose": Any + is not equal to: (here, type any absurd sequence of letters which none of the files in the folders contain; something like "SVDGVWRTHDTBEHJ". It will very likely find all the files in that folder and its sub-folders;

5. In action 2, choose the label you want to apply to the files...

6. Run action;

7. Save workflow for later use.

It worked fine for me.

Cheers,
Alemar
 
Thank You

Thank you, it worked great. I tried automator before but it only did the folders and none of the files, but what you said worked out great, automator is so underrated. Thanks again, you really helped a guy out here.

All the best,
Oli
 
File Sheriff

Hey,

I've just found out that Koingo Software's File Sheriff will also easily do this trick and many others of "batch modify" nature, including batch renaming MP3 files based on their iTunes tags. Guess it's worth taking a look.

Cheers,
Alemar
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.