rdhaese
10/9/2017 - 10:53 AM

Files in Directory

Find all files in in a directory, not taking child directories.

dir="This/Is/a/test/DIR"
echo $(find $dir -maxdepth 1 -type f)