Over a million developers have joined DZone.

Count Files In Directory With Ruby

·

Dir["your-directory/**/*"].length
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}