We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to run this recursively on all SQL files under a directory?
The text was updated successfully, but these errors were encountered:
Something like that should do the work:
find mydir/ -name '*.sql' | xargs -i pg_format -o {}.out {}
the formatted files will have the extension .out or if you want to override the existing SQL files you can do something like that:
find mydir/ -name '*.sql' | xargs -i pg_format -i {}
Sorry, something went wrong.
No branches or pull requests
Is it possible to run this recursively on all SQL files under a directory?
The text was updated successfully, but these errors were encountered: