how_to_count_all_the_files_in_a_directory
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
how_to_count_all_the_files_in_a_directory [2017/02/28 18:00] – external edit 127.0.0.1 | how_to_count_all_the_files_in_a_directory [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
<color darkorange> | <color darkorange> | ||
+ | ---- | ||
+ | Updated <color darkorange> | ||
+ | ---- | ||
+ | To find all of the files in a folder or directory, use: | ||
+ | \\ | ||
+ | find . -type f | wc -l | ||
+ | \\ | ||
+ | The <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | To find all the sub directories, | ||
+ | find . -type d | wc -l | ||
+ | \\ | ||
+ | The <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | Old | ||
---- | ---- | ||
how_to_count_all_the_files_in_a_directory.1488304810.txt.gz · Last modified: 2023/03/09 22:35 (external edit)