Is there a linux command for getting only the files in a folder and inside its subfolders? I have used the find command, but it is displaying all the files and folders. I am executing this shell command using the php exec() function.
Listing only the files in a folder and inside its subfolders
files;find;utilities
You should use the -type f option to get only files.find /path_to_find -type f