My problem this is this:
Within the bourne shell I am get the user to input the date of a backup to check. (This is my $REPLY variable.)
I need to, after getting the input, export this variable $REPLY) to another script that is ftp'ing onto another server then getting the backup required by using the $REPLY variable inputted in script 1.
Explained better
1. The user inputs date
2. Next script is called (ftp script)
3. Uses the user input to specify which backup to 'get'
The backup will always be in this format where n = parts that change !
adsm_backup_01nnnnnnnn.log
Anyone know how to export the inputted date to the second script ?
Within the bourne shell I am get the user to input the date of a backup to check. (This is my $REPLY variable.)
I need to, after getting the input, export this variable $REPLY) to another script that is ftp'ing onto another server then getting the backup required by using the $REPLY variable inputted in script 1.
Explained better
1. The user inputs date
2. Next script is called (ftp script)
3. Uses the user input to specify which backup to 'get'
The backup will always be in this format where n = parts that change !
adsm_backup_01nnnnnnnn.log
Anyone know how to export the inputted date to the second script ?