View on GitHub

rsync-backup

versatile rsync based backup scripts with minimal dependencies

Download this project as a .zip file Download this project as a tar.gz file

BACKUP-DU


NAME

backup-du - estimate file space usage

SYNOPSIS

backup-du

[-a] [-B <SIZE>] [-l] [-f] [--help [<FORMAT>]] [-h] [-k] [-m] [-S] [--si] [-s] [-c] [-V] [<PATH> ...]

DESCRIPTION

Summarize disk usage by counting used and releasable blocks and their sizes.

OPTIONS

-a, --all

Write counts for all files, not just directories.

-B <SIZE>, --block-size <SIZE>

Scale sizes down by <SIZE> before printing them.

-l, --count-links

Count sizes many times if hard linked.

-f, --full-size

Print full sizes.

--help [<FORMAT>]

Show this help message and exit.

-h, --human-readable

Print sizes in human readable format.

-k

Like --block-size=KiB.

-m

Like --block-size=MiB.

-S, --separate-dirs

For directories do not include size of subdirectories.

--si

Like --human-readable, but use powers of 1000 not 1024.

-s, --summarize

Display only a total for each argument.

-c, --total

Produce a grand total.

-V, --version

Show version information and exit.

OPERANDS

<PATH>

A path whose disk usage is to be summarized.

COPYRIGHT

Copyright © 2022 - 2024 Eero Häkkinen <Eero+rsync-backup@Häkkinen.fi>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

SEE ALSO

backup-help(1)
Home page