Getting all files custom attribute

Permalink
Hi,

I've several files in the file manager, I've set a custom select attribute 'type'.

Now I would like to retrieve all 'type' values in a page.
Do you have any idea how to do this? I've found it nowhere...

Thanks a lot