Meaning of a double star (**) in a file path

喜欢而已 提交于 2019-12-30 08:47:07

问题


I was reading here on Stack Overflow about when you meet ** in a path, like:

src/js/**/*.js

I just would like to ask, in a single word "recursive" is suitable for this, so to ready this finally "everydir recursive" for "* *" and to feel I finally understood that, please?!


回答1:


The double star in this case means all folders within the current folder, with the current folder being src/js

So in full, find all files with a .js extension, in all subfolders of src/js



来源:https://stackoverflow.com/questions/46547540/meaning-of-a-double-star-in-a-file-path

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