#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

#1285 in Filesystem

Download history 17/week @ 2024-02-18 15/week @ 2024-02-25 1/week @ 2024-03-03 7/week @ 2024-03-10 100/week @ 2024-03-31

107 downloads per month

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

~14–25MB
~329K SLoC