How to exclude directories from Mozy custom backup sets using spotlight queries

Posted by bromfiets on Super User See other posts from Super User or by bromfiets
Published on 2009-08-16T13:38:08Z Indexed on 2010/05/20 18:40 UTC
Read the original article Hit count: 240

Filed under:
|
|

I would like to create custom backup sets for Mozy which exclude certain directories. For example, I would like to backup my Itunes folder, but exclude all podcasts. I have created a backup set which searches in /Users/me/Music and used this query

kMDItemPath == "*Podcasts*"wc

to exclude all matching files. However, nothing matches. Queries which use the kMDItemFSName spotlight attribute work fine, but any query using kMDItemPath doesn't seem to work at all. What am I doing wrong?

© Super User or respective owner

Related posts about mozy

Related posts about osx