I have designed a sequencer which will run a simple unix command to count the number of files:
Code: Select all
cd E:/DataSources/Export/Source/ | ls -l | wc -l | sed "s/ //g;"
Code: Select all
C:/IBM/InformationServer/Server/Projects/ETL1
Inorder to test, I have also moved the files to "C:/IBM/InformationServer/Server/Projects" to see if it reads from this folder but still it reads from only ETL1 folder.
This doesn't happen when I pass this folder ( E:/DataSources/Export/Source/) into the jobs.
Please let me know if I am missing something.
Note: I have also tried passing the folder name in quotes
cd "E:/DataSources/Export/Source/" | ls -l | wc -l | sed "s/ //g;" but there is no success.
Appreciate the help!!