How to maintain the moved file structure in NiFi FetchFile processor
I have few files as follows.
/source/abc.txt
/source/xyz.txt
/source/subdir/abc-sub.txt
/source/subdir/xyz-sub.txt
Currently, all the files are copied to the output dir
/output/abc.txt
/output/xyz.txt
/output/abc-sub.txt
/output/xyz-sub.txt
Is it possible to re-create/maintain the original file hierarchy, as follows;
/output/abc.txt
/output/xyz.txt
/output/subdir/abc-sub.txt
/output/subdir/xyz-sub.txt

