1
0
Fork 0
mirror of https://github.com/nachoparker/dutree synced 2024-05-12 23:56:08 +02:00

fix mistake in README

This commit is contained in:
nachoparker 2018-11-08 18:48:01 -07:00
parent 1eb27aec86
commit 970323dcf7

View File

@ -1,35 +1,38 @@
/// //!
/// - dutree - //! Simple command line tool to analyse disk usage from the terminal
/// //!
/// Simple command to analyse disk usage from the terminal //! # Usage
/// //!
/// Usage: //! ```text
/// btrfs-sync [options] <src> [<src>...] [[user@]host:]<dir> //! $ dutree --help
/// //! Usage: dutree [options] <path> [<path>..]
/// -k|--keep NUM keep only last <NUM> sync'ed snapshots //!
/// -d|--delete delete snapshots in <dst> that don't exist in <src> //! Options:
/// -z|--xz use xz compression. Saves bandwidth, but uses one CPU //! -d, --depth [DEPTH] show directories up to depth N (def 1)
/// -Z|--pbzip2 use pbzip2 compression. Saves bandwidth, but uses all CPUs //! -a, --aggr [N[KMG]] aggregate smaller than N B/KiB/MiB/GiB (def 1M)
/// -q|--quiet don't display progress //! -s, --summary equivalent to -da, or -d1 -a1M
/// -v|--verbose display more information //! -u, --usage report real disk usage instead of file size
/// -h|--help show usage //! -b, --bytes print sizes in bytes
/// //! -x, --exclude NAME exclude matching files or directories
/// <src> can either be a single snapshot, or a folder containing snapshots //! -H, --no-hidden exclude hidden files
/// <user> requires privileged permissions at <host> for the 'btrfs' command //! -A, --ascii ASCII characters only, no colors
/// //! -h, --help show help
/// Cron example: daily synchronization over the internet, keep only last 50 //! -v, --version print version number
/// //! ```
/// cat > /etc/cron.daily/btrfs-sync <<EOF //! # Screenshot
/// #!/bin/bash //!
/// /usr/local/sbin/btrfs-sync -q -k50 -z /home user@host:/path/to/snaps //! ![dutree](https://ownyourbits.com/wp-content/uploads/2018/03/dutree-featured2.png)
/// EOF //!
/// chmod +x /etc/cron.daily/btrfs-sync //! # More information
/// //!
/// Copyleft 2018 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com> //! Copyleft 2018 by Ignacio Nunez Hernanz - nacho _at_ ownyourbits _dot_ com
/// GPL licensed (see end of file) * Use at your own risk! //!
/// //! GPL licensed
/// More at https://ownyourbits.com //!
/// //! More at [ownyourbits.com](https://ownyourbits.com/2018/03/25/analize-disk-usage-with-dutree)
//!
//! [github](https://github.com/nachoparker/dutree)
//!
extern crate dutree; extern crate dutree;