5 releases
0.1.4 | Aug 4, 2022 |
---|---|
0.1.3 | May 31, 2021 |
0.1.2 | May 25, 2021 |
0.1.1 | May 25, 2021 |
0.1.0 | May 25, 2021 |
#1575 in Filesystem
15KB
97 lines
bcat (transparently ls and cat, lcat renamed bcat)
A command-line tool that allows transparent ls and cat operations regardless of whether they are files or directories.
Also for practicing Rust.
install
by cargo
cargo install bcat
by release binary for linux x86
curl -LO https://github.com/bootjp/bcat/releases/latest/download/bcat
chmod +x bcat
./bcat .
sudo cp bcat /usr/local/bin/
example
for dir
for file
Dependencies
~13–23MB
~301K SLoC