Why the '%e'? That's putting a space in instead of a zero, so
date +%A%Y%M%d%k%M%SA
would work. Or you can try double-quoting the date string
"`date +'A%Y%M%e%k%M%SA'`"
-- Oh, and to clarify, it's not be 'truncated', exactly - it's just being treated as two filenames because of the whitespace separator.
Last edited by slakmagik; 03-02-2005 at 10:10 PM.
|