Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site wanginst.UUCP Path: utzoo!linus!wanginst!gill From: gill@wanginst.UUCP (Timothy D. Gill) Newsgroups: net.unix Subject: Re: finding files with such-and-such a string in them Message-ID: <1667@wanginst.UUCP> Date: Wed, 12-Feb-86 20:36:04 EST Article-I.D.: wanginst.1667 Posted: Wed Feb 12 20:36:04 1986 Date-Received: Thu, 13-Feb-86 17:49:39 EST References: <245@aero.ARPA> <587@smeagol.UUCP> <259@hadron.UUCP> Organization: Wang Institute of Graduate Studies, MA 01879, USA Lines: 12 I need to locate some file of mine, with such-and-such a string in it, so often that I have this command in my logout: find $HOME -print | sort | > $HOME/LISTS/names-of-all-my-files & and another command, ff (for "find file"), that is simply grep -i $1 $HOME/LISTS/names-of-all-my-files Then I never have to think about it, and can always find what I want. This mechanism works for projects, too, although it is less useful on a system-wide basis.