terrible syntax
Monday, November 14, 2011
import sql files
import all files matching *.mysql in current directory into database "db"
for f in *.mysql; do echo $f && mysql -u username -psecretpw db < $f ; done
echos the file name as it goes
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment