Subject: bug#6186: du in coreutils should add the -d flag as a shortcut to --max-depth

From: Jon Ringuette <[email-masked]>
Date: Thu, 13 May 2010 11:47:22 -0700

Package : coreutils
Version : All
Command : du
Type : Feature Request

Hello,

In the FreeBSD world it is common to have a short argument of '-d' for --max-depth.   This greatly shortens a command one must type to when a depth argument is used (which from my experience is often).

For example currently to say get the size of all the home directories of users one would use :    du /home -h --max-depth=1   .   It would make life simpler and make going from FreeBSD systems to Linux systems easier for people and scripts if the syntax   : du /home -h -d 1 was also supposed.

Thank you,

-- 
Jon Ringuette
SCHARP/FHCRC
1100 Fairview ave. N LE-400
Office: Phone: 206.667.6378  Mobile: 206.659.5660  Fax: 206.667.4812
E-mail: [email-masked]

CONFIDENTIALITY NOTICE: This e-mail message and any attachments may be confidential and privileged. If you are not intended to receive this
message, please notify the sender and destroy the message. Thank you.