Currently, I have a function to find the filename, size and type; however, it includes the path as well, which I don't really need.
find . -type f -exec stat --format="%n %s %F"
directory/file size file type
Is there any way I could get it to show only the name of the file without the path using find, or do I have to use something else?