find.1posix sample -type f -printf '%f,%h\n'
find files
source manpages: find