Skip to main content

Is there a way to check if a directory exists?
I create a directory B using the mkdir command within one SystemCaller and in another SystemCaller it copies file from directory A to B and it works.
But the process must copy copy new files that are created in directory A and the mkdir gives an error because the directory already exists.

The FileExistenceChecker

https://hub.safe.com/publishers/safe-lab/transformers/fileexistencechecker

Works on paths as well


Thanks a lot, 

I used this transformer  (FileExistenceChecker) and everything worked fine.


Reply