サブディレクトリであれば
sabudirekutorideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of サブディレクトリ

1. If the subdirectory exists; If there is a subdirectory

Ba Conditional
Computing