• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Additions: Embracing the Horror of Unix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Additions: Embracing the Horror of Unix


  • Subject: Re: Scripting Additions: Embracing the Horror of Unix
  • From: garbanzito <email@hidden>
  • Date: Sat, 2 Feb 2002 20:36:49 -0700

at 2002 02 01, 15:08 -0800, they whom i call Christopher Nebel wrote:
On Friday, February 1, 2002, at 02:45 PM, Michael Sullivan wrote:

Steve suggested that the recursive form could be dangerous if you have links. ...

% man rm
...
The rm utility removes symbolic links, not the files referenced by the
links.

it's hard to have confidence in that when 1) it doesn't
mention hard links or aliases, 2) it doesn't talk about
whether it *follows* links when traversing directories with
-R, and 3) some other man pages are missing some Mac OS
X-specific info.

my original caution was based on a casual report from
another person. i did a simple (not exhaustive) test. in my
test, rm -R did not follow links or aliases to folders, nor
did it delete the original of a linked or aliased file. so
it *appear* safe in that respect (no guarantees).

--
steve harley email@hidden


  • Follow-Ups:
    • Re: Scripting Additions: Embracing the Horror of Unix
      • From: John W Baxter <email@hidden>
References: 
 >Re: Scripting Additions: Embracing the Horror of Unix (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: 'path to cleanup at startup folder'
  • Next by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Previous by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Index(es):
    • Date
    • Thread