Recursively list .nim files
# deep scan a folder for .nim files
import os
import strutils
proc deepWalk(path: string) =
for x in walkDir(path):
if x.kind == pcDir:
deepWalk(x.path)
elif x.path.endsWith ".nim":
echo x.path
deepWalk("/")
INFO