/********************************************************************************************
-- Title : [win] 윈도우용 du 명령어 사용
-- Reference : microsoft.com
-- Key word : disk usage du windows
********************************************************************************************/
-- Runs on :
· Client : Windows XP and higher.
· Server : Windows Server 2003 and higher.
-- Introduction :
· Du reports the disk space usage for the director you specity.
· By default it recurses directories to show the total size of a directory and its subdirectories.
-- References :
· http://technet.microsoft.com/en-us/sysinternals/bb896651
-- How to:
· Download file and put it on c:\windows\system32
· or Put it on any folder and execute in that folder.
-- File :
-- Usage :
Usage: du [-c] [-l <levels> | -n | -v] [-u] [-q] <directory>
-c | Print output as CSV. |
-l | Specify subdirectory depth of information (default is all levels). |
-n | Do not recurse. |
-q | Quiet (no banner). |
-u | Count each instance of a hardlinked file. |
-v | Show size (in KB) of intermediate directories. |
-- Example :
c:> du -q -l 1 y:\