home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!csus.edu!netcom.com!netcomsv!posix!hlj
- From: hlj@posix.COM (Hal Jespersen)
- Newsgroups: comp.unix.shell
- Subject: Re: file removal problem solved.
- Message-ID: <188@posix.COM>
- Date: 31 Aug 92 23:05:46 GMT
- References: <114.22393@incc.com>
- Organization: POSIX Software Group, Redwood City, CA
- Lines: 14
-
- jerry@incc.com (Jerry Rocteur) writes:
- :
- : 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...................
-
- This is a nonportable solution that you're espousing. Neither the POSIX
- shell spec nor XPG{3,4} include find -inum. The SVID does.
-
- I'd be interested to know why the more traditional rm -i ./A* solution
- didn't work for the original poster.
-
- Hal
-