Find all files (type f) in the current directory and all subdirectories (mindepth 2), then for each file, get the base name (basename) and output a unique list (sort -u).
find -mindepth 2 -type f -name \"*\" | xargs -L1 -I {} basename "{}" | sort -u