Some time ago I wrote a bash script. It couldn't be more badly
programmed, but it works! (I'm not a developer!)The script also takes a
while because it first pulls all the assets and then has to check each
asset individually to see whether it is referenced or not.