#directory #cat #ls #transparent #command-line-tool #operations #whether

app bcat

A command-line tool that allows transparent ls and cat operations regardless of whether they are files or directories

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

Apache-2.0 and GPL-3.0 licenses

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

directory example

for file

file example

Dependencies

~13–23MB
~301K SLoC