I will be using this command with WP-CLI to batch change about 1,000 URLs.
while IFS=, read orig new; do wp --dry-run --skip-themes --skip-plugins search-replace "$orig" "$new" wp_posts --include-columns=post_content --verbose; done < example.csv
The contents of the .csv is two columns with the old and new strings:
https://www.oldurl1 https://www.newurl1
https://www.oldurl2 https://www.newurl2
https://www.oldurl3 https://www.newurl3
etc...
The URLs are stored in an ACF custom field. Is this going to cause any serialisation issues?