Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FDMEE Jython scripting help

Aravind_LApr 2 2020 — edited Apr 4 2020

    Hello,

I am new to Jython and am looking to convert a batch script to Jython so that it can be used in the before and after batch script.

What i am trying to script :

1) Move all the files from inbox folder  to temp folder  which do not contain 'GL' in their file name .

2) after execution - move the files which do not contain 'GL' in their file name from temp to inbox folder.

I know it is a simple script - but would like to know if using shutil.move(src, dst) is the best way .

Thanks in advance.

Comments