Get File Count In A Directory In Unix
Posted by admin on
November 17, 2008
This command gives you a total count of all the files or subdirectories in a certain directory. This command is for unix-type operating systems.
find . -type f | wc -l
This command gives you a total count of all the files or subdirectories in a certain directory. This command is for unix-type operating systems.
find . -type f | wc -l