I would not recommend using Hazel for this. It will be way too resource intensive. If it's a one time deal, then just use Spotlight or Smart Folders to find the files and do it manually. Otherwise, maybe you should explain in more detail why you need to do this.