Try exp ... file=expdat.`date +%j`.dmp ... or whatever format is
desired. Note that those are NOT quote marks, but grave marks. They
mean "the result of whatever command is inside them".
You might want to do something like this in a script:
JDATE=`date +%j'
exp ... file=expdat.${JDATE}.dmp ...
Of course, Julian date (%j) is not what you asked for. See: $ man
date The possibities are endless.
-Don Granaman
[OraSaurus]
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 11:01 AM
> RK - The system nicely timestamps the file automatically for you.
Isn't that
> good enough? Another idea - on Unix, tar several files and it will
keep the
> system timestamps on them.
> Dennis Williams
> DBA
> Lifetouch, Inc.
> [EMAIL PROTECTED]
>
> -----Original Message-----
> Sent: Tuesday, December 04, 2001 10:21 AM
> To: Multiple recipients of list ORACLE-L
>
>
> Hello All,
>
> I am trying to append date to dmp file while exporting it , no luck
any
> ideas..
>
> exp userid=user/passwd imp file=EXPDATA$DATE.dmp
>
> (I need to have system date and if possible time (TIMESTAMP )
appended to it
> .)
>
> TIA
> Cheers
> RK
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: DENNIS WILLIAMS
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing
Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Don Granaman
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).