To list all files in a directory – including subdirectories then use this command:
# find /data/jord01 -type f
If you want a count of all the files in a directory:
# find /data/jord01 -type f | wc -l
Somewhere in the Cloud
To list all files in a directory – including subdirectories then use this command:
# find /data/jord01 -type f
If you want a count of all the files in a directory:
# find /data/jord01 -type f | wc -l