PRINT THE NAMES OF FILES IN A DIRECTORY
Output filename in a directory in Linux
This script will output a list of regular files, recursively in a directory. This does not remove the directory name from the beginning of the filename.
#!/bin/bash
find -type f |grep -vF ./. |sed 's/..\(.*\)/\1/'