Paul --

...and then Paul Kraus said...
% 
% I need to do recursive deletes. But according to perldoc I should not
% use unlink. I should use rmdir. However rmdir does not work unless the

Yep.

The short form: A directory contains pointers to all of the files "in"
it.  If you unlink the directory then all of those files no longer have
pointers and yet the filesystem hasn't freed them; you have orphans.


% directory is empty.... Should I just system rm -r ....

That's one way.  I like the rmtree answer myself.


HTH & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to