DU-EXCLUDES(1)

NAME
du-excludes - show disk usage for files listed in an exclude file

SYNOPSIS
du-excludes exclude-file directory

DESCRIPTION
du-excludes reads a list of file or directory names from an exclude file and runs du against the named paths after prepending the supplied directory. It is a convenience tool used by the remaster workflow to estimate how much space files will consume on a different filesystem or mount point.

OPTIONS

-h, --help
    Show the help text and exit.

The script also accepts the legacy -help spelling.

ARGUMENTS

exclude-file
    File containing one path per line.

directory
    Directory prefix added to each entry before running du.

EXAMPLES

du-excludes /live/config/remaster.exclude /mnt/target
    Estimate the space used by the files listed in /live/config/remaster.exclude relative to /mnt/target.

SEE ALSO
du(1), live-remaster(1), installed-to-live(1)

AUTHOR
mx-remaster maintainers