Find only regular files in the current directory and print them without the prefix " ./ ":
find -type f -printf '%P\n'
From a human search, the description of the -printf format:
% P The name of the file with the name of the command line argument in which it was deleted.
Ilia K. Apr 08 '10 at 0:10 2010-04-08 00:10
source share