POV-Ray : Newsgroups : povray.off-topic : Today's annoyance : Re: Today's annoyance Server Time
29 Jul 2024 08:10:59 EDT (-0400)
  Re: Today's annoyance  
From: Darren New
Date: 10 Feb 2012 23:10:53
Message: <4f35ea4d$1@news.povray.org>
On 2/9/2012 6:23, Invisible wrote:
> rm folder1
> it deletes the specified folder. So far so good, eh?

No it doesn't.

> Oh, but that fails if the folder is not empty, so you must add /S. Oh, but
> that asks for confirmation, so you must add /Q as well.

Other than the confirmation, this is all identical to how unix works. "rm" 
doesn't delete directories on unix unless you add "-r".  Unix has an rmdir 
command.

> Short version: To delete an object, you must know whether it is a file or a
> folder. Thanks for that... :-P

Or you could run both commands.

-- 
Darren New, San Diego CA, USA (PST)
   People tell me I am the counter-example.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.