Check if a file in a specified folder exists anywhere on remote

Try sync with --track-renames and --dry-run. I think it should reveal already existing files in the debug logfile.

Alternatively mount your remote and run de-duplicator of your choice against your SD card.

I would use fclones as it allows to limit amount of data read from remote, see this old thread: