Is there a way to automatically remove invalid google drive shortcuts?

Thank you for the quick response.
That fixed the bug in Rclone ls command fails on a directory that contains at least one invalid drive shortcut

And now I guess I can script something to listing the files with lsjson and look for "MimeType":"application/vnd.google-apps.shortcut.dangling"

Would still be nice if there was somesort of command to have rclone autodelete them. But not super important.

Thank you once again for the quick response:)