Say you're on Mac OS X, and you wanted to save a file with the current date and time as its name (or part of its name), from the command line, but you didn't want to type the date and time. For example, you wanted to change
foo.txt
to 061005-19:16.txt
. mv foo.txt
...?