get the current date and use it in a filename
- by Malfist
I'm trying to do something like this:
mysqldump --user c1bt3 --password=blah c1bt3 > c1bt{date}.sql
where date is replaced with the current date, i.e. c1bt5-11-10.sql, and I'm trying to do it from a linux shell script.
Any ideas how I can do this?