Skip to content

Instantly share code, notes, and snippets.

View daniel-ness's full-sized avatar

Daniel Ness daniel-ness

  • Glasgow, Scotland
View GitHub Profile
@daniel-ness
daniel-ness / gist:ff94135b5aef500336b3d1252115f81f
Created October 3, 2025 07:59
Find which database tables a string appears within in a mysql db dump
grep "string_to_locate" mysqldump.sql | sed -E "s/.*INSERT INTO \`?([^\` ]+)\`?.*/\1/" | sort -u