I have directory structure like this
data |___ | abc |____incoming def |____incoming |____processed 123 |___incoming 456 |___i
find $(INP_PATH} -type f -ls |grep -v "${INP_PATH}/.*/"