uutils / coreutils

Cross-platform Rust rewrite of the GNU coreutils
https://uutils.github.io/
MIT License
17.84k stars 1.28k forks source link

Port du on Windows #1622

Closed maver1ck closed 3 years ago

maver1ck commented 4 years ago

Hi, I downloaded 0.0.1.1 version via scoop but I don't see du on function list.

PS D:\Downloads\coreutils-0.0.1.1-x86_64-pc-windows-msvc> .\coreutils.exe
coreutils 0.0.1 (multi-call binary)

Usage: coreutils [function [arguments...]]

Currently defined functions/utilities:

    arch, base32, base64, basename, cat, cksum, comm, cp, cut, date, df, dircolors, dirname,
    echo, env, expand, expr, factor, false, fmt, fold, hashsum, head, hostname, join, link, ln,
    ls, md5sum, mkdir, mktemp, more, mv, nl, nproc, od, paste, printenv, printf, ptx, pwd,
    readlink, realpath, relpath, rm, rmdir, seq, sha1sum, sha224sum, sha256sum, sha3-224sum,
    sha3-256sum, sha3-384sum, sha3-512sum, sha384sum, sha3sum, sha512sum, shake128sum,
    shake256sum, shred, shuf, sleep, sort, split, sum, sync, tac, tail, tee, test, touch, tr,
    true, truncate, tsort, unexpand, uniq, wc, whoami, yes

What I'm doing wrong?

sylvestre commented 4 years ago

It is only available on Linux for fnow. https://github.com/uutils/coreutils/blob/master/Cargo.toml#L145-L151

maver1ck commented 4 years ago

Then Documentation is a little bit misleading https://github.com/uutils/coreutils#utilities

sylvestre commented 4 years ago

yeah, a bunch of tools are platform specific. Don't hesitate to help. We aren't many to improve this software (and it is fun :+1: )

maver1ck commented 4 years ago

5-months child doesn't give me time for other-than-paid-job projects :(

paulotten commented 3 years ago

See https://github.com/uutils/coreutils/pull/1788