Moving asset files around with a script.

Good morning.

Is it possible to move assets files around with a script, an editor extension for instance, where unity keeps track of/updates the references that asset has to other assets, like when we manually move or rename an asset in the editor?
Thank you.

Thought I had searched on google thoroughly enough but apparently not.

AssetDatabase is what I am looking for :slight_smile: