Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deleting a directory

1 view
Skip to first unread message

jon....@totient.demon.co.uk

unread,
Jan 6, 1999, 3:00:00 AM1/6/99
to
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

David Bakhash

unread,
Jan 10, 1999, 3:00:00 AM1/10/99
to
jon....@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

0 new messages