Skip to content

Instantly share code, notes, and snippets.

View khaled-sadek's full-sized avatar

khaled sadek khaled-sadek

View GitHub Profile
khaled-sadek /
Created January 31, 2023 11:29 — forked from dougvj/
Mysql to Postgres SQL file conversion
# Adapted from github comment:
if [ -z "$3" ]; then
echo "Usage: $0 <db name> <mysql dump> <psql dump output>"
echo "Requirements: docker"
exit 1
if ! command -v docker &> /dev/null