Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: Help! There's a slash '/' in my filename. Message-ID: <5857@auspex.auspex.com> Date: 11 Feb 91 01:41:11 GMT References: <19025@rpp386.cactus.org> <2902@charon.cwi.nl> Distribution: comp Organization: Auspex Systems, Santa Clara Lines: 22 > > > ... Then HARD link all the other files into the new directory. >Oh yes, how to do that if the directory name contains a '/'? The assumption was, presumably, that the directory containing an entry with a slash in it did not, itself, have a name containing a slash. If the directory in question has such a name, the way you do it is: 1) apply the aforementioned "how to fix a file with a name containing a slash" to that directory (this points out one reason why you may NOT want to fix the problem by "clri"ing the file - "clri"ing a directory and "fsck"ing will leave you with a bunch of files in "lost+found" with cryptic names); 2) now apply the fix to the broken file. Recurse as needed.... > > The most painless method is to move all > > the files and directories out of the directory with the bad entry, >Same question here. Same answer.