Find all files in in a directory, not taking child directories.
dir="This/Is/a/test/DIR" echo $(find $dir -maxdepth 1 -type f)