2013年10月29日 - Create a script similar to this: #!/bin/sh -e location=~/`date +%Y%m%d_%H%M%S`.db mysqldump -u root --password= ...
stackoverflow.com