Automatically pass metadata from item to attached media

Hi :),

I’m looking for a way to automaticaly transfer the metadata of some of my items to the media attached to them.

Is there a way to do this ?

Thanks for your help!