Store labels in the file system - apply to old files/labels

Is there any option or tool to store labels in the file system for files that were labeled prior to activating "automatically store labels in the file system if possible" (or prior to upgrading DOpus to version in which it became possible)?

A quick way to do it (assuming a small number of labels) is to find everything with a label (or find everything with each label in turn), then sort by the label column, select everything with one label, remove it and reapply it, then do the next one.

I guess a script could be written to do the same, but for a quick one-off task it's probably not worth it.

Thank you. I didn't think about the search tool and using it was quick enough for me.

I also made use of Labels cleaner to delete old entries (for files that no longer exists on disk).