如何将嵌套子文件夹转换为单个子文件夹
将指定目录的子文件夹“折叠”为名为“加入子文件夹”的单个文件夹的好方法是什么? 因此给定这个目录结构... ./zero.csv ./reports/r1/a/b/c/one.csv ./reports/r2/a/two.csv ./reports/r3/x/y/z/three.csv ./reports/r4/x/y/four.csv 我如何指定./reports应该折叠的子文件夹 - 导致: ./zero.csv ./reports/r1.a.b.c/one.csv ./reports/r2.a/two.csv ./reports/r3.x.y.z/t...