How to process the output folder created by one script
I have a script (first.sh) which creates a output folder at a particular location.Now a second script (second.sh) need the location of this output folder as it need to process the data into it.
Keep in mind that the first.sh script will generate the output folder as per the user needs.(as per path set by the user). Now i need the second.sh script to find the path of the output folder generated by first.sh script and then it should enter into it for processing some data? I need the logic for the above problem. Also remember that the path for output folder always changes and the second.sh script should be able to find the exact path and output folder. first.sh /add/sub/output_folder (user decides the output path) second.sh It should find the "/add/sub/output_folder" location Hope it helps.Plz help me. |
Answer is given in the following thread: Selecting output as a directory path (post #5 and beyond).
|
Quote:
Kevin Barry |
All times are GMT -5. The time now is 09:04 AM. |