Purpose
=======
This was written as a last resort for deleting directories when
rm -r -f, rm -d, and rmdir all fail. Try those commands before using
smackdir. Smackdir recursively deletes directories quickly and
efficiently, even if the directory has hundreds of thousands of files.
Warnings to the wise or otherwise
=================================
First off, this was written by a hack (not a hacker, just a hack). While
I
don't foresee any security risks from installing this software, use
it at
your own risk.
Also, there is NO verification. That means that once you invoke
smackdir, it will go to work removing files and directories
immediately. Don't type <return> unless you really mean it. For
instance,
typing:
smackdir /
as root WILL do really bad things. If you don't believe me, go ahead
and
try it, but don't cry to me about lost data or missing operating
systems. For obvious reasons, this is a really bad utility to set the
suid
flag on.
Install
=======
No configure script. The makefile is very simple and assumes you have
gcc
installed on your machine. To install, type:
make
make install
make clean (optional)
Usage
=====
smackdir <directory_name>
There are no options. If an error occurs, smackdir will report the error
and exit.
License
=======
This software is copyrighted by Robert J. Neff and licensed under the
GNU
General Public License. For details, see the COPYING file distributed
with
this software.
Contacting me
=============
To report bugs and/or submit praise, email : [email protected]
Downloading
=============
Click here
to download. At the command prompt, type:
tar xzvf smackdir-1.0.tgz
to uncompress the files. Happy deleting!