access file systems – recursive function r

I was playing around with recursion. This is a short snippet about iterating through folder structures. It shows all directories and subdirectories within a file path.

This is the output from a test directory:


Leave a Reply

Your email address will not be published. Required fields are marked *