mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Prettify md/yaml file
Resolved via `prettier --write .`
This commit is contained in:
+40
-12
@@ -81,18 +81,46 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
job:
|
job:
|
||||||
# { os, target, cargo-options, features, use-cross, toolchain }
|
# { os, target, cargo-options, features, use-cross, toolchain }
|
||||||
- { os: ubuntu-latest , target: aarch64-unknown-linux-gnu , use-cross: use-cross }
|
- {
|
||||||
- { os: ubuntu-latest , target: aarch64-unknown-linux-musl , use-cross: use-cross }
|
os: ubuntu-latest,
|
||||||
- { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , use-cross: use-cross }
|
target: aarch64-unknown-linux-gnu,
|
||||||
- { os: ubuntu-latest , target: i686-unknown-linux-gnu , use-cross: use-cross }
|
use-cross: use-cross,
|
||||||
- { os: ubuntu-latest , target: i686-unknown-linux-musl , use-cross: use-cross }
|
}
|
||||||
- { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , use-cross: use-cross }
|
- {
|
||||||
- { os: ubuntu-latest , target: x86_64-unknown-linux-musl , use-cross: use-cross }
|
os: ubuntu-latest,
|
||||||
- { os: macos-latest , target: x86_64-apple-darwin }
|
target: aarch64-unknown-linux-musl,
|
||||||
- { os: windows-latest , target: i686-pc-windows-gnu }
|
use-cross: use-cross,
|
||||||
- { os: windows-latest , target: i686-pc-windows-msvc }
|
}
|
||||||
- { os: windows-latest , target: x86_64-pc-windows-gnu } ## !maint: [rivy; 2020-01-21] may break due to rust bug; follow possible solution from GH:rust-lang/rust#47048 (refs: GH:rust-lang/rust#47048 , GH:rust-lang/rust#53454 , GH:bike-barn/hermit#172 )
|
- {
|
||||||
- { os: windows-latest , target: x86_64-pc-windows-msvc }
|
os: ubuntu-latest,
|
||||||
|
target: arm-unknown-linux-gnueabihf,
|
||||||
|
use-cross: use-cross,
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
os: ubuntu-latest,
|
||||||
|
target: i686-unknown-linux-gnu,
|
||||||
|
use-cross: use-cross,
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
os: ubuntu-latest,
|
||||||
|
target: i686-unknown-linux-musl,
|
||||||
|
use-cross: use-cross,
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
os: ubuntu-latest,
|
||||||
|
target: x86_64-unknown-linux-gnu,
|
||||||
|
use-cross: use-cross,
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
os: ubuntu-latest,
|
||||||
|
target: x86_64-unknown-linux-musl,
|
||||||
|
use-cross: use-cross,
|
||||||
|
}
|
||||||
|
- { os: macos-latest, target: x86_64-apple-darwin }
|
||||||
|
- { os: windows-latest, target: i686-pc-windows-gnu }
|
||||||
|
- { os: windows-latest, target: i686-pc-windows-msvc }
|
||||||
|
- { os: windows-latest, target: x86_64-pc-windows-gnu } ## !maint: [rivy; 2020-01-21] may break due to rust bug; follow possible solution from GH:rust-lang/rust#47048 (refs: GH:rust-lang/rust#47048 , GH:rust-lang/rust#53454 , GH:bike-barn/hermit#172 )
|
||||||
|
- { os: windows-latest, target: x86_64-pc-windows-msvc }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Install any prerequisites
|
- name: Install any prerequisites
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
[](https://travis-ci.org/bootandy/dust)
|
[](https://travis-ci.org/bootandy/dust)
|
||||||
|
|
||||||
# Dust
|
# Dust
|
||||||
@@ -10,35 +9,37 @@ du + rust = dust. Like du but more intuitive.
|
|||||||
Because I want an easy way to see where my disk is being used.
|
Because I want an easy way to see where my disk is being used.
|
||||||
|
|
||||||
# Demo
|
# Demo
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
#### Cargo <a href="https://repology.org/project/du-dust/versions"><img src="https://repology.org/badge/vertical-allrepos/du-dust.svg" alt="Packaging status" align="right"></a>
|
#### Cargo <a href="https://repology.org/project/du-dust/versions"><img src="https://repology.org/badge/vertical-allrepos/du-dust.svg" alt="Packaging status" align="right"></a>
|
||||||
|
|
||||||
* `cargo install du-dust`
|
- `cargo install du-dust`
|
||||||
|
|
||||||
#### 🍺 Homebrew (Mac OS)
|
#### 🍺 Homebrew (Mac OS)
|
||||||
|
|
||||||
* `brew install dust`
|
- `brew install dust`
|
||||||
|
|
||||||
#### 🍺 Homebrew (Linux)
|
#### 🍺 Homebrew (Linux)
|
||||||
|
|
||||||
* `brew tap tgotwig/linux-dust && brew install dust`
|
- `brew tap tgotwig/linux-dust && brew install dust`
|
||||||
|
|
||||||
#### [Pacstall](https://github.com/pacstall/pacstall) (Debian/Ubuntu)
|
#### [Pacstall](https://github.com/pacstall/pacstall) (Debian/Ubuntu)
|
||||||
|
|
||||||
* `pacstall -I dust-bin`
|
- `pacstall -I dust-bin`
|
||||||
|
|
||||||
#### Windows:
|
#### Windows:
|
||||||
* Windows GNU version - works
|
|
||||||
* Windows MSVC - requires: [VCRUNTIME140.dll](https://docs.microsoft.com/en-gb/cpp/windows/latest-supported-vc-redist?view=msvc-170)
|
- Windows GNU version - works
|
||||||
|
- Windows MSVC - requires: [VCRUNTIME140.dll](https://docs.microsoft.com/en-gb/cpp/windows/latest-supported-vc-redist?view=msvc-170)
|
||||||
|
|
||||||
#### Download
|
#### Download
|
||||||
|
|
||||||
* Download Linux/Mac binary from [Releases](https://github.com/bootandy/dust/releases)
|
- Download Linux/Mac binary from [Releases](https://github.com/bootandy/dust/releases)
|
||||||
* unzip file: `tar -xvf _downloaded_file.tar.gz`
|
- unzip file: `tar -xvf _downloaded_file.tar.gz`
|
||||||
* move file to executable path: `sudo mv dust /usr/local/bin/`
|
- move file to executable path: `sudo mv dust /usr/local/bin/`
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
@@ -73,14 +74,13 @@ Usage: dust -v regex (Exclude files matching this regex (eg dust -v "\.png$" wou
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Alternatives
|
## Alternatives
|
||||||
|
|
||||||
* [NCDU](https://dev.yorhel.nl/ncdu)
|
- [NCDU](https://dev.yorhel.nl/ncdu)
|
||||||
* [dutree](https://github.com/nachoparker/dutree)
|
- [dutree](https://github.com/nachoparker/dutree)
|
||||||
* [dua](https://github.com/Byron/dua-cli/)
|
- [dua](https://github.com/Byron/dua-cli/)
|
||||||
* [pdu](https://github.com/KSXGitHub/parallel-disk-usage)
|
- [pdu](https://github.com/KSXGitHub/parallel-disk-usage)
|
||||||
* [dirstat-rs](https://github.com/scullionw/dirstat-rs)
|
- [dirstat-rs](https://github.com/scullionw/dirstat-rs)
|
||||||
* du -d 1 -h | sort -h
|
- du -d 1 -h | sort -h
|
||||||
|
|
||||||
Note: Apparent-size is calculated slightly differently in dust to gdu. In dust each hard link is counted as using file_length space. In gdu only the first entry is counted.
|
Note: Apparent-size is calculated slightly differently in dust to gdu. In dust each hard link is counted as using file_length space. In gdu only the first entry is counted.
|
||||||
|
|||||||
Reference in New Issue
Block a user