specify directories architecture skip one level

喜你入骨 提交于 2019-12-13 08:50:51

问题


the directories looks like ./2012/NY/M/ ./2012/NJ/F/ and .etc

I'd like to find all files under /f no matter which state it is in

How should I write?

I tried ./2012/*/F but it does not work...


回答1:


./2012/*/F should return you all the directories no matter the state.

If you want the files under that, you've got to glob for them too: ./2012/*/F/*



来源:https://stackoverflow.com/questions/18966457/specify-directories-architecture-skip-one-level

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!