Count Files In Directory With Ruby
Join the DZone community and get the full member experience.
Join For Free
Dir["your-directory/**/*"].length
Opinions expressed by DZone contributors are their own.
Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.
Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.
Comments