def copy_trees()

in plugins/asfcopy.py [0:0]


def copy_trees(pel_ob):
    print('-----\nasfcopy')

    output_path = pel_ob.settings.get('OUTPUT_PATH')
    path = pel_ob.settings.get('PATH')
    asf_copy = pel_ob.settings.get('ASF_COPY')
    if asf_copy:
        for tree in asf_copy:
            src = os.path.join(path, tree)
            dst = os.path.join(output_path, tree)
            print(f'{src} --> {dst}')
            shutil.copytree(src, dst)
    else:
        print("Nothing to copy")