There’s a script by @laurent_delrieu with a few options…
You’ll find the latest version of the script in this thread here: