Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danstreeter/980913674016242c20e649ab0047aea1 to your computer and use it in GitHub Desktop.
Save danstreeter/980913674016242c20e649ab0047aea1 to your computer and use it in GitHub Desktop.
Find MySQL Table Versions from raw versions
for file in *.frm; do echo $file" : "$(hexdump -s 0x33 -n 2 -v -d *.frm | head -1 | rev | awk '{$1=$1};1' | cut -d" " -f1 | rev); done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment