-
-
Save legoboy0215/39e4533d2a7a18b21419d8f2bf5745d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
USER="root" | |
PASSWORD="" | |
FILES="/Users/tenold/Backups/MySQL/*" | |
for f in $FILES | |
do | |
echo "Processing $f file..." | |
mysql -u $USER -p$PASSWORD < $f | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment