Posted By

gdvickery on 01/09/10


Tagged

Bash linux


Versions (?)

Count the number of files in a Directory / Sub-Directories


 / Published in: Bash
 

This command will count the number of files in the given directory and sub-directories.

  1. ls -1R /path/to/directory | wc -l

Report this snippet  

You need to login to post a comment.