Skip to content

Instantly share code, notes, and snippets.

@hancush
Last active May 17, 2018 15:38
Show Gist options
  • Save hancush/31a9ac6ba896174a0a2a1bcba4eae1e0 to your computer and use it in GitHub Desktop.
Save hancush/31a9ac6ba896174a0a2a1bcba4eae1e0 to your computer and use it in GitHub Desktop.
TABLES=$(mdb-tables /path/to/YOUR_ACCDB.accdb); \
for TABLE in $TABLES; \
do mdb-export /path/to/YOUR_ACCDB.accdb $TABLE > /path/to/$TABLE.csv; \
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment