Skip to main content
Question

Is there a way to check if a directory exists?

  • March 7, 2024
  • 2 replies
  • 335 views

gjaguilar
Contributor
Forum|alt.badge.img+6

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.

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+63
  • Celebrity
  • 1625 replies
  • March 7, 2024

gjaguilar
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • 17 replies
  • March 13, 2024

Thanks a lot, 

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