From: ········@totient.demon.co.uk
Subject: Deleting a directory
Date: 
Message-ID: <770pdo$cn3$1@nnrp1.dejanews.com>
Hi

Is there a portable way to delete a directory? I can see a function
ensure-directories-exist, but nothing about deleting ??


Jon

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
From: David Bakhash
Subject: Re: Deleting a directory
Date: 
Message-ID: <wkr9t3ntqc.fsf@mit.edu>
········@totient.demon.co.uk writes:

> Hi
> 
> Is there a portable way to delete a directory? I can see a function
> ensure-directories-exist, but nothing about deleting ??

I would write a recursive function using #'delete-file and #'directory.
It should work okay.  Except for some messy business that might arise
with hard- and symlinks, I don't see why portability would be a
concern.

dave