This content has been marked as final. Show 6 replies
Did you use the tool "OdiOSCommand" ?
In the first parameter, you write the LS command :
ls -1In the second parameter, you write the location of the target file, with the directory :
/home/your_user/test/Filename.txtWith the 4eme parameter, you can decide to append the list in the existing file, or override the file.
In the 5eme parameter, you set the directory :
/home/your_user/test/If the directory is defined on your topology as a physical and a logical schema, you can use the logical schema in the parameters :
for instance :
<%=odiRef.getSchemaName("FILE_TEST", "D")%>/instead of "/home/your_user/test/"
where FILE_TEST is the name of the logical schema
Thanks to that, you will be able to use different directories depending on your contexts.