use python os.walk to go through all subdirs
import os
import sys
# Set the directory you want to start from
startDir = sys.argv[1]
for root, dirs, files in os.walk(startDir):
for name in dirs:
print(os.path.join(root, name))
for name in files:
print(os.path.join(root, name))