i need a script that will take a collection of strings eg:
inbox
inbox/folder-1
inbox/folder-1/Subfolder1
trash
sent and turns it into
root <static, added elsewhere
|_inbox
| |_folder-1
| |_subfolder-1
|_sent
inbox
inbox/folder-1
inbox/folder-1/Subfolder1
trash
sent and turns it into
root <static, added elsewhere
|_inbox
| |_folder-1
| |_subfolder-1
|_sent
Comment