Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!phri!roy From: roy@phri.UUCP (Roy Smith) Newsgroups: comp.unix.wizards Subject: Re: help with missing lost+found! Message-ID: <2836@phri.UUCP> Date: Mon, 10-Aug-87 22:17:05 EDT Article-I.D.: phri.2836 Posted: Mon Aug 10 22:17:05 1987 Date-Received: Thu, 13-Aug-87 00:42:56 EDT References: <180@LOGICON.LOGICON.UUCP> Reply-To: roy@phri.UUCP (Roy Smith) Organization: Public Health Research Inst. (NY, NY) Lines: 21 In <180@LOGICON.LOGICON.UUCP> sloane@LOGICON.LOGICON.UUCP (Gary Sloane x251) Wants to know how to recreate a missing lost+found directory but says: > Using mkdir() doesn't cut it... Why not? Doing: cd mkdir lost+found cd lost+found for i in `series 1 100`; do touch $i; done rm * should do the trick and I can't imagine anything much more straight-forward. Of course, if you don't have Gary Perlman's "series" program, you have to think of some other way to generate a list of numbers, or type them by hand. The file names are unimportant; "for i in `ls /tmp`" should work fine if you have lots of /tmp files. -- Roy Smith, {allegra,cmcl2,philabs}!phri!roy System Administrator, Public Health Research Institute 455 First Avenue, New York, NY 10016