how_to_count_all_the_files_in_a_directory
This is an old revision of the document!
How to count all the files in a directory
ls -l -R /path | wc -l
Or:
find "/home/charles/testarea" -daystart -type f -mtime +6 | wc -l
how_to_count_all_the_files_in_a_directory.1470264438.txt.gz · Last modified: 2023/03/09 22:35 (external edit)