This plugin enables the usage of wp rj delete_links [filepath]
wp cli comand, which will bulk delete all posts matching links in csv file, please checkout sample.csv for required pattern.
Once downloaded just unzip it and move the folder into the /wp-content/plugins
folder within your WordPress install.
Execute wp rj delete_links [filepath]
from shell once your csv is ready.