Re: excluding some paths

Shigio Yamaguchi <[email protected]>
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
Hi,
> Then is it possible to combine the database from different runs. I am
> thinkling of running gtags in two or more folders, that i want to include,
> and then combine the two to one.
> i.e.
> i have :
> src/dir1
> src/dir2
> src/dir3
> 
> Then i run.
> cd src/dir1
> gtags
> cd ../src/dir3
> gtags
> 
> then i whant to:
> combine src/dir1 src/dir3 > /src/GTAGS
> etc. for the rest
> 
> I this somehow possible?

It's not possible.

What about this?

% mkdir /tmp/shadow
% cd src
% cp -r dir1 dir2 /tmp/shadow		# copy dir1/ dir2/
% (cd /tmp/shadow; gtags)		# make tag files
% mv /tmp/shadow/G* .			# move to original directory
% rm -rf /tmp/shadow

It is very dirty method though. :(
--
Shigio Yamaguchi <[email protected]> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.