How to move a file present in a folder other than the deploy folder used for creating a build
i have a deploy folder which i use to create builds, i have to put all scripts that i have to deploy in the deploy folder and create the build, but i want to keep the scripts at a different location and in deploy folder just put the path of the files that are to be deployed, i have shell script that reads the paths mentioned in the file containing the links placed in the deploy folder, but when it tries to move, it gets error 'no such file or directory', my structure is ROOT contains deploy and scripts folder, scripts folder contains scripts and deploy has a file that has path of the scripts in script folder, i am specifying path as /ROOT/SCRIPT/SCRIPT.TXT |
One answer
Ralph Schoon (63.6k●3●36●46)
| answered Oct 08 '18, 2:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER This is, as far as I can tell, not really an RTC question - at least there is no information at all about RTC. This is a basic how scripting works. "No such file or directory" is an error that can have many causes. Make sure the data is there when the script is called (e.g. data is loaded). Comments
avinash pathak
commented Oct 08 '18, 11:55 p.m.
hi Ralph,
Thanks for your reply, i have validated files are present in the specified path, wanted to check if there is a specific way to mention the path for RTC
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.