1 person following this project (follow)

Welcome!
The latest DirClean release is version 1.0.2. Please read the information below and if it sounds of interest please download it and give it a try. If you have any problems or questions please post them in the Help area.

What is DirClean in a nutshell?
It's a little console application which can search through a directory tree and list any empty folders and delete them too if you wish. It's ideal for clearing out dead folders from your iTunes collections.

How Do I Use It?
In a console window type "DirClean -h". This will display the DirClean help text and available options.
You should backup any folders before using DirClean on them just incase you issue an unintended command. I will not be held responsible for any deleted data.

What are the available options?
The available options are as follows: -

	-h	DISPLAY HELP
	-i	DIRECTORY TO START IN.
	-r	RECURSE DIRECTORIES.
	-c	LOG EMPTY DIRECTORIES TO CONSOLE.
	-p	PROMPT TO CONFIRM EACH DELETE.
	-d	DELETE EMPTY DIRECTORIES.
	-e	TREAT DIRECTORIES WITH ONLY HIDDEN FILES AS EMPTY.
	-s	SILENT, NO CONSOLE OUTPUT AND NO USER INTERACTION.


Some Examples

(1) Display help text

DIRCLEAN.EXE -h

(2) Recursively list all empty folders in "C:\Docs"

DIRCLEAN.EXE -i "C:\Docs" -c -r

(3) Recursively list and delete all empty folders in "C:\Docs"

DIRCLEAN.EXE -i "C:\Docs" -c -r -d

(4) Recursively list and confirm delete of all empty folders in "C:\Docs"

DIRCLEAN.EXE -i "C:\Docs" -c -r -d -p

(5) Recursively list and confirm delete of all empty folders (including folders with only hidden files) in "C:\Docs"

DIRCLEAN.EXE -i "C:\Docs" -c -r -d -p -e

(6) Silenty and recursively delete all empty folders in "C:\Docs"

DIRCLEAN.EXE -i "C:\Docs" -r -d -s

Last edited Oct 5 2008 at 8:43 PM by fallenidol, version 16