[Prologue]
If you make application, temporary folders are created automatically by compiler.
The folders are unnecessary in source file levels, so they need to be removed.
Temporary files can be deleted by using "del" command (example : "del /s *.obj"),
while temporary folders can not be removed unless you explicit full folder path one by one.
This is why I made "rm_folder" utility for myself.
 
[Usage]
remove folder version 2.0
http://www.gilgil.net
Copyright (c) Gilbert Lee All rights reserved

usage  : rm_folder [/q] [/i] [<root folder>] <folder name>

         /q          : quiet mode
         /i          : case-insensitive comparison
         root folder : root folder(default : .)
         folder name : folder name to remove

exam   : rm_folder .svn
         rm_folder /i debug

 

[Example]
rm_folder .svn     : Remove all sub folders named ".svn".
rm_folder /i debug : Remove all sub folders named "debug"(case insensitive).
If you want to remove folders without prompt, add "/q" option.


 [License]
GNU General Public License (GPL)
 
[Epilogue]
Built in Microsoft Visual Studio 2005 and g++(Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Full open source and boost 1.47.0 required.
 
[Download]

2011.08.31 (try catch exception code added)

Source code and binary file to execute : rm_folder(2011.08.31).tar.gz

Batch file sample in Windows : _clear(2011.08.31).zip


2011.08.30

Source code and binary file to execute : rm_folder.tar(2011.08.30).gz

Batch file sample in Windows : _clear(2011.08.30).zip


2011.08.29 (deprecated)

Source code and binary file to execute : rm_folder(2011.08.29).tar.gz 

Batch file sample in Windows : _clear(2011.08.29).zip