Added readme
This commit is contained in:
parent
01e4588bf7
commit
45ccbe091c
10
README.md
Normal file
10
README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Usage
|
||||||
|
|
||||||
|
pgsplit takes a PostgreSQL dump with multiple databases through STDIN and extracts them to the current directory, named with the database name and an .sql extension.
|
||||||
|
|
||||||
|
`pgsplit -list` prints the databases contained in the SQL dump.
|
||||||
|
|
||||||
|
`pgsplit` extracts all databases.
|
||||||
|
|
||||||
|
`pgsplit -include-all -except foo -except bar` extracts all databases except for foo and bar.
|
||||||
|
`pgsplit -exclude-all -except foo -except bar` extracts only databases foo and bar.
|
Loading…
Reference in New Issue
Block a user