我有一个带有文件夹结构的文本文件:
+---A Momentary Lapse of Reason
+---A Saucerful of Secrets
+---Animals
+---Atom Heart Mother
+---Delicate Sound Of Thunder
+---Echoes- The Best of Pink Floyd
| +---Echoes- The Best of Pink Floyd Disc 1
| \---Echoes- The Best of Pink Floyd Disc 2
+---Is There Anybody out There- The Wall- Live 1980-1981 Disc 1
+---Is There Anybody out There- The Wall- Live 1980-1981 Disc 2
\---Works
windows CMD
我是通过使用tree
命令收到的。我想知道是否有一种简单的方法可以将此结构转换为json
?
对于这样的事情,手动执行并不难,但我需要为12TB
文件夹执行此操作。