how to get all files in subdirectories to current directory linux code example
Example 1: list all files in a directory and subdirectory linux
find . -type f -follow -print
Example 2: bash list all files in directory and subdirectories
# Bash-specific
# syntax
ls -R <file-or-directory-to-find>
# example
ls -R *hotographi*