home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3713 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.6 KB  |  34 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
  3. From: dattier@ddsw1.mcs.com (David W. Tamkin)
  4. Subject: Re: file removal problem solved.
  5. Message-ID: <1992Aug31.183913.2506@ddsw1.mcs.com>
  6. Organization: Contributor Account at ddsw1, Chicago, Illinois  60657
  7. References: <BtMJuK.KEH@acsu.buffalo.edu> <ls91Hct!99@atlantis.psu.edu> <114.22393@incc.com>
  8. Date: Mon, 31 Aug 1992 18:39:13 GMT
  9. X-Disclaimer:  Material posted in this article is the sole responsibility of
  10.                 the poster and does not represent MCSNet or the system owners.
  11. Lines: 21
  12.  
  13. jerry@incc.com (Jerry Rocteur) wrote in <114.22393@incc.com>:
  14.  
  15. |  This is all so tiresome pleaaaaaaase, Eric Li[t]man summed it all up in
  16. |  a post on Aug 27th, this should be posted on a daily basis, that way
  17. |  we would not have to repeatedly read these stupid questions and often
  18. |  answers, here is Eric's post, read it, print it and paste it on the
  19. |  wall, please..........
  20.  
  21. [Rocteur's citation of Litman's example deleted]
  22.  
  23. |   IN OTHER WORDS, DO AN ls -i OF THE PROBLEM FILE, STAY WITHIN THAT
  24. |   DIRECTORY, DO A find . -inum nnnn -exec rm {} \; WHERE nnnn IS THE
  25. |   NUMBER DISPLAYED TO THE LEFT OF YOUR FILES NAME, AND THAT IS IT,
  26. |   YOUR PROBLEM FILE IS DELETED...................
  27.  
  28. Almost; if the funny name is an extra link to a valuable file whose other
  29. link is/links are in or under the same directory, use -ok as Jean-Pierre
  30. Radley suggested instead of -exec.
  31.  
  32. David W. Tamkin   Box 59297   Northtown Station, Illinois  60659-0297
  33. dattier@ddsw1.mcs.com    CompuServe: 73720,1570    MCI Mail: 426-1818
  34.