A small command line program that generates a JSON file called struct.dat containing the file tree hierarchy of a given directory path. This directory path is passed as an argument the running the program.
Before running the script you must know the absolute path of the directory that you want to scan. Once you know this path, run the following command in your Terminal/ Command Line Prompt:
python hierarchy.py /Path