问题
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