Number of files on a directory and subdirectories

This is how I do it!

ls -l -R /path/ | wc -l

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.