SCP
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.
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.
0