On 30 Oct 2007, at 20:02, [EMAIL PROTECTED] wrote:

On Tue, 30 Oct 2007 20:48:00 +0100, Andy Armstrong <[EMAIL PROTECTED]> wrote:



And because I've made quite a mess of the home directory over the course of a few attempts I also have to ask whether there's a quick way to recursively delete a directory :)

The official way:

$ delete [...]*.*;*

But that leaves the directories.  Change their protections so you
can actually delete them:

$ set prot [...]*.*;*

and repeat until all's gone:

$ delete [...]*.*;*


Slightly better (sort of):

$ delete [...]*.*;*,;*,;*,;*,;*,;*,;*,;*

but since directories can now be deeper than 8 levels it won't work
too well anymore.


The fast way:

$ backup/delete [...]*.*;* nl:./save

Might need the set prot bit as well for the directories.


Thanks Michael :)

I've cheated to get mms working - I just edited descrip.mms so that test is the default target. Now I have some errors to fix.

Thanks again.

--
Andy Armstrong, Hexten




Reply via email to