[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: excluding some paths

From: Shigio Yamaguchi
Subject: Re: excluding some paths
Date: Mon, 20 Jan 2003 21:55:36 +0900

> 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 <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]