From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.help Subject: Re: produce tags-file for several directories with etags Date: Tue, 05 Oct 2004 07:45:00 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87ekkdtmmb.fsf@penguin.brutt.org> References: <87ekkd8ya7.fsf@rechner1.ddorf.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096976915 29093 80.91.229.6 (5 Oct 2004 11:48:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2004 11:48:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 05 13:48:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CEnnr-00034O-00 for ; Tue, 05 Oct 2004 13:48:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEnuU-0005Ja-Hw for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Oct 2004 07:55:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: news.uni-berlin.de 49XVF0qtNbvYyvy+UUKisQMswpiVQs20wQjy0GD5Y3Pm8tA6c= Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:4oHAYqm7aJkPX+zOATnRhOa34So= Original-Xref: shelby.stanford.edu gnu.emacs.help:125702 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21062 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21062 Fabian Braennstroem writes: > Hello, > > I want to produce a tags-file for a code which is spread over several > directories. I am not able to find any option for etags to handle this. Just > with the simple 'etags *' I get following for all directories: > > 'directory': it is not a regular file. > > Does anybody have an idea? I see from the headers that you are on linux. Then you certainly have the 'find' command. Try the following command from the root directory of your source tree: etags `find . -type f` -- Benjamin Rutt