MLUG: Re: [MLUG] Re: minor annoyance with '..' files
Re: [MLUG] Re: minor annoyance with '..' files
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Tue, 1 May 2001, Mark Pecaut wrote:

> Which reminds me of some sysadmin horror stories I read once:
> http://www2.hunter.com/~skh/humor/admin-horror.html

The one below is highly relevant!  It's exactly the kind of disaster I was
trying to avoid while deleting files that begin with '..'.

Mike

--------------------------------------------------------------------------

From: EMAIL:PROTECTED (Barrie Spence)
Organization: DataCAD Ltd, Hamilton, Scotland

My mistake on SunOS (with OpenWindows) was to try and clean up all the
'.*' directories in /tmp. Obviously "rm -rf /tmp/*" missed these, so I was
very careful and made sure I was in /tmp and then executed

"rm -rf ./.*". I will never do this again. If I am in any doubt as to how
a wildcard will expand I will echo it first.

--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/