Skip to content
GitLab
Explore
Sign in
web
sql
clean_sql_files.sh
Find file
Normal view
Permalink
clean_sql_files.sh
67 B
Newer
Older
Add the script to remove the pg_dump information from the dumped sql
Marco De Donno
committed
Aug 26, 2019
1
2
3
#!/bin/bash
find
.
-name
'*.sql'
-exec
sed
-i
'/^-- Dump/d'
{}
\;