Menu

#331 ctags -R *.c in windows doesn't find files in subdirectories

open
nobody
None
5
2012-04-20
2012-04-20
James Brown
No

In windows if I have a source tree and want to create a single tags file for the entire project, I would go to the top of the tree and type:

ctags -R *.c

Under windows this gets me either 1) only the C files in the current directory or 2) nothing (if there are no .c files in the current directory. If I want all the files in the entire tree I have to do something like ctags -R * or just ctags -R.

It seems that any file spec is applied to directories as well when doing a recursive search.

Am I missing something or is there no way to do recursive and specify file patterns simultaneously?

Discussion


Log in to post a comment.