I got your rm -rf right here:

    npm install rimraf

DUN done.

--Josh

On Tue, Jul 24, 2012 at 3:53 PM, Dashku <ad...@dashku.com> wrote:
> I'm running into a case where I want to remove a non-empty directory, and I
> can't because it contains some files and directories.
>
> I would like to suggest being able to pass a force option to the fs.rmdir
> command, for example:
>
>> fs.rmdir("features",{force:true},function(err){
>>
>>   // do something here
>>
>> });
>
>
> Is that a sane request, or can this already be achieved with another API
> call in Node.js?
>
> Regards,
>
> Paul
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en



-- 
Joshua Holbrook
Head of Support
Nodejitsu Inc.
j...@nodejitsu.com

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to