Skip to main content

Hi,

I have some villages (Primary and secondary villages), each containing a main folder, a subfolder, a data folder, and some empty folders. I will designate one village as the primary village.

 All sub-village files/data will be stored in the main village folder. Only location path links will be kept in the secondary village folder (marked in red color). Other data will be sourced from different locations (Marked in green color).

Finally, I must validate whether all folders and data have been correctly segregated or not. I am currently performing this process manually, which involves copying, pasting, and validating each folder and village individually.

This manual process is quite time-consuming and manpower.

Kindly help me about this test cases and workflow. I am new to FME and am eager to learn more about its functionalities.

Thanks.

You have a reader called the "Directory and File Pathnames” reader. You can use this to read a folder, all subfolders and files inside it, the output will contain information on the filenames, file extension, owner, and the comlete file path. You can then use the "FilenamePartExtractor” to for example get directory names and rootnames for individual files and folders. For your usecase you will probably also need a lot of testers. However, what you are asking us is very extensive for a forum question, it basically requires us to build the whole workbench for you which if you are very lucky someone might do for you but it is really not the goal of the forum itself.

Also you can check out the FME academy if you are new and don't know anything about FME: https://academy.safe.com

Its free and will help you understand how FME works which is really what you need right now I think.


Hi ​@birgit Thank you for your response. I have already used some of the transforms you suggested, but I am not getting the expected results. Of course, I will go through it. https://academy.safe.com

Thanks! 


Reply