Re: Avoid going through symbolic links
Shigio YAMAGUCHI <[email protected]> Mon, 23 Apr 2018 14:32:20 +0900
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <CADJmJYqjau9w7wNvG03iupsh0dhD9JkSJ2Uf_i1icb95Xb=Nzw@mail.gmail.com> |
--===============5708728459140427197==
Content-Type: multipart/alternative; boundary="0000000000009d2c5c056a7d5cdb"
--0000000000009d2c5c056a7d5cdb
Content-Type: text/plain; charset="UTF-8"
Hello,
You can ignore symbolic links for both files and directories
by the following command lines:
find . -type f -print >gtags.files
gtags
If you hope to ignore only symbolic links for directories,
then you can do it like follows:
find . -print >gtags.files
gtags
Please ignore gtags's warning messages.
In other words, all you can do with find can do with gtags.
Regards,
Shigio
2018-04-23 5:25 GMT+09:00 Sylvain <[email protected]>:
> Hello there,
>
> Is there a way to avoid descending into symbolic links ?
> As far as I understand, gtags can either: (1) ignore dot files or (2) only
> include some files, but it cannot ignore files.
>
> Regards,
> S.S.
>
>
> _______________________________________________
> Help-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-global
>
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB
--0000000000009d2c5c056a7d5cdb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div>Hello,</div><div>You can ignore symbolic links f=
or both files and directories</div><div>by the following command lines:</di=
v><div><br></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 find . -type f -print >=
;gtags.files</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 gtags</div><div><br></di=
v><div>If you hope to ignore only symbolic links for directories,</div><div=
>then you can do it like follows:</div><div><br></div><div>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 find . -print >gtags.files</div><div>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 gtags</div><div><br></div><div>Please ignore gtags's warning mes=
sages.</div><div><br></div><div>In other words, all you can do with find ca=
n do with gtags.</div><div><br></div><div>Regards,</div><div>Shigio</div></=
div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">2018-04-23 5:25 GMT+09:00 Sylvain <span dir=3D"ltr"><<a href=3D"=
mailto:[email protected]" target=3D"_blank">[email protected]</a>></span>:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">Hello there,<br>
<br>
Is there a way to avoid descending into symbolic links ?<br>
As far as I understand, gtags can either: (1) ignore dot files or (2) only =
include some files, but it cannot ignore files.<br>
<br>
Regards,<br>
S.S.<br>
<br>
<br>
______________________________<wbr>_________________<br>
Help-global mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
g</a><br>
<a href=3D"https://lists.gnu.org/mailman/listinfo/help-global" rel=3D"noref=
errer" target=3D"_blank">https://lists.gnu.org/mailman/<wbr>listinfo/help-g=
lobal</a><br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d=
iv><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div=
dir=3D"ltr">Shigio YAMAGUCHI <<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>></div><div dir=3D"ltr"><div dir=3D"ltr">P=
GP fingerprint:=C2=A0</div><div dir=3D"ltr">26F6 31B4 3D62 4A92 7E6F =C2=A0=
1C33 969C 3BE3 89DD A6EB</div></div></div></div></div></div></div></div></d=
iv>
</div>
--0000000000009d2c5c056a7d5cdb--
--===============5708728459140427197==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global
--===============5708728459140427197==--