Skip to content

Instantly share code, notes, and snippets.

@Mamaduka
Created November 26, 2019 10:13
Show Gist options
  • Save Mamaduka/3c2649048210b76b172a6e2475f0b35e to your computer and use it in GitHub Desktop.
Save Mamaduka/3c2649048210b76b172a6e2475f0b35e to your computer and use it in GitHub Desktop.

Contact SQL files

cat *.sql >> ../backup/contacted.sql
find . -type f -name "*.sql" -print0 | xargs -0 cat >> ../backup/concated.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment