Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Export Database From Mac Shell Script Save "ANY_NAME.sh"
- # Set Permission "sudo chmod 755"
- #!/usr/bin/env bash
- USERNAME=$(id -un) #Code By VeeRa
- DATE=$(date +"%Y_%m_%d_%H_%M_%S")
- /Applications/xampp/xamppfiles/bin/mysqldump -u root -p --databases EXPORT_DATABASE_NAME > /Users/$USERNAME/Downloads/export_db_$DATE.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement