DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: how do I append the date to a dumpfile?

  1. #1
    Join Date
    Apr 2004
    Location
    ny,ny
    Posts
    24

    how do I append the date to a dumpfile?

    this is what i want to do in a shell script
    ----------------------------
    #!bin/bash

    exp system/manager file= mydump_current_date.dmp log=mydump_current_date.log


    thanks

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    man date
    Jeff Hunter

  3. #3
    Join Date
    Jan 2001
    Posts
    3,134
    Originally posted by marist89
    man date
    Kinky
    I remember when this place was cool.

  4. #4
    Join Date
    Sep 2001
    Location
    Ohio
    Posts
    334
    Code:
    export DATE=`date +%m%d%Y`
    
    exp system/manager file= mydump_${DATE}.dmp log=mydump_${DATE}.log

  5. #5
    Join Date
    Apr 2004
    Location
    ny,ny
    Posts
    24
    thanks jodie

  6. #6
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    Originally posted by Mr.Hanky
    Originally posted by marist89
    man date

    Kinky
    Not for Jodie it isn't

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width