Linux Operating System (MOSC)

MOSC Banner

SCP

edited Nov 5, 2012 12:43PM in Linux Operating System (MOSC) 5 commentsAnswered
Hello,
I have a business requirement that one prompt will come and will ask for the date, user will enter the date in this format 02-09-2012, once user will enter the date, it will ask for a password and once password is verified, scp will start from source to destination. Please help me out, it is very very urgent.

Example:

[dbuser@dba2 ~] ls

backp_02_11_2012.tar.gz
backp_03_11_2012.tar.gz
backp_04_11_2012.tar.gz
backp_05_11_2012.tar.gz
backp_06_11_2012.tar.gz
backp_07_11_2012.tar.gz

Prompt will come like : =[Enter date]
                                    =04_11_2012
                                    =[Enter password]
If password is correct, then will start scp from production to test server.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center