Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
Created October 13, 2017 13:27
Show Gist options
  • Save betweenbrain/37579f6dd9ddf4c832415de3c75c6e89 to your computer and use it in GitHub Desktop.
Save betweenbrain/37579f6dd9ddf4c832415de3c75c6e89 to your computer and use it in GitHub Desktop.
Linux combine multiple files

$ find . -type f -name '*.sql' -exec cat {} + >> ../combined.sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment