ctags 하위폴더에 특정 확장자 만 태그를 만드려구 합니다..

bao의 이미지

하위에 존재하는 파일들중 .c .h 확장자를 가진 파일들면 태그를 만드려구 하는데

ctags -R *.c *.h
ctags: Warning: cannot open source file "*.c" : No such file or directory
ctags: Warning: cannot open source file "*.h" : No such file or directory

요렇게 해봐도 안되고...

ctags *.c *.h -R
ctags: Warning: cannot open source file "*.c" : No such file or directory
ctags: Warning: cannot open source file "*.h" : No such file or directory

요렇게 해봐도 안되고..끙...

어떻게 해야 하나요...

ymir의 이미지

$ ctags $(find . -type f -name \*.[ch])

되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』