Subject: Re: du -n - ignore "nodump" files
To: Simon Burge <simonb@wasabisystems.com>
From: John Hawkinson <jhawk@MIT.EDU>
List: tech-userlevel
Date: 02/26/2003 09:56:40
Simon Burge <simonb@wasabisystems.com> wrote on Wed, 26 Feb 2003
at 19:03:25 +1100 in <20030226080324.GA14469@thistledown.com.au>:


> I'd like at commit the following change to du(1) so that -n will ignore
> files and directories marked with "chflags nodump ...". I've found this
> useful for working out how big a backup will be when used in conjunction
> with "dump -h".

Could a less well-known option letter be used, such as -N?  "-n"
implies "perform your common operation in a non-intrusive way"; while
that doesn't really apply to du, I think there'd be less confusion
with a different letter.

--jhawk