[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: du and --exclude & --exclude-from

From: Eric Blake
Subject: Re: du and --exclude & --exclude-from
Date: Mon, 20 Feb 2006 20:42:51 +0000

> du (coreutils) 5.2.1

The latest stable version of coreutils is 5.94 - consider
upgrading: http://lists.gnu.org/archive/html/bug-coreutils/2006-02/msg00078.html

> # du /home/reind --exclude="/home/reind"
> # du /home/reind -X exclude.txt
> with exclude.txt:
> /home/reind
> Both of the above do not work as they should. They do not exclude the 
> above directories.

Exclusion is intended for files not listed on the command line.  By listing
the directory explicitly, you are bypassing the exclusion check for
that directory.

Eric Blake

reply via email to

[Prev in Thread] Current Thread [Next in Thread]