home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!infoserv!incc!jerry
- From: jerry@incc.com (Jerry Rocteur)
- Newsgroups: comp.unix.shell
- Subject: Re: file removal problem solved.
- Summary: oonce and for all, removing files
- Message-ID: <114.22393@incc.com>
- Date: 29 Aug 92 20:08:07 GMT
- References: <BtMJuK.KEH@acsu.buffalo.edu> <ls91Hct!99@atlantis.psu.edu>
- Organization: InCC.com Perwez Belgium
- Lines: 73
-
- In article <ls91Hct!99@atlantis.psu.edu>, barr@pop.psu.edu (David Barr) writes:
- > In article <FRIEDMAN.92Aug29010851@nutrimat.gnu.ai.mit.edu> friedman@gnu.ai.mit.edu (Noah Friedman) writes:
- > >In article <BtMJuK.KEH@acsu.buffalo.edu> vidya-v@acsu.buffalo.edu (vidyaranya) writes:
- > >>The solution I finally used came from our system administrator. I had
- > >>already tried the 'rm -i' and rm A* options and posted when they failed.
- > >>
- > >>The solution I used needed a simple C program and an Octal
- > >>dump of the filename to specify in the C program.
- > >>Here it is:
- > >>
- > >>[ bletcherous C program mercifully deleted ]
- > >
- > >
- > > Your system ambiguator ought to be shot.
- >
- > Agreed! Talk about attacking the problem in a roundabout way!
- >
- > Don't you guys have emacs? (I've only had to use "emacs ." once,
- > but it's handy to know that it's there.)
-
- This is all so tiresome pleaaaaaaase, Eric Liman summed it all up in
- a post on Aug 27th, this should be posted on a daily basis, that way
- we would not have to repeatedly read these stupid questions and often
- answers, here is Eric's post, read it, print it and paste it on the
- wall, please..........
-
- >Interesting that one would go through such an elaborate method. You could
- >have:
- >
- >[~elitman] elitman@phenom(ttyp3)
- >
- > 11:36am -# /bin/ls -i
- >
- > 16809 Apps 32537 Library
- > 48329 Mailboxes 54133 MusicInfo
- > 42487 bin 66595 dead-cube
- > 20875 foo&bar 20864 letter-to-UK
- > 20861 promos.tar.F 20892 utilsnmail.tar
- >
- >[~elitman] elitman@phenom(ttyp3)
- >
- > 11:36am -# find . -inum 20875 -exec rm {} \;
- >
- >[~elitman] elitman@phenom(ttyp3)
- >
- > 11:37am -# /bin/ls -i
- >
- > 16809 Apps 32537 Library
- > 48329 Mailboxes 54133 MusicInfo
- > 42487 bin 66595 dead-cube
- > 20864 letter-to-UK 20861 promos.tar.F
- > 20892 utilsnmail.tar
- >
- >Why bother with something as bloated as a C program when this will accomplish
- >exactly the same thing?
- >
- >--
- >Eric A. Litman #import <std/disclaimer.h> | NeXTMail, MIME accepted - please
- >U. of Maryland, NeXT Campus Consultant | indicate in Subject line.
-
-
- IN OTHER WORDS, DO AN ls -i OF THE PROBLEM FILE, STAY WITHIN THAT
- DIRECTORY, DO A find . -inum nnnn -exec rm {} \; WHERE nnnn IS THE
- NUMBER DISPLAYED TO THE LEFT OF YOUR FILES NAME, AND THAT IS IT,
- YOUR PROBLEM FILE IS DELETED...................
-
- --
- __^__ __^__
- ( ___ )------------------------------------------------------------( ___ )
- | / | Jerry Rocteur Email: jerry@InCC.COM | \ |
- |___| Independent Computer Consultants division DELDRA s.p.r.l. |___|
- (_____)------------------------------------------------------------(_____)
- ^ ^
-