fcat, short for fastcat, is a
cat implementation in Rust using Linux's
With that little trick, it's more than three times as fast as the system
cat in our benchmarks.
Read the announcement here.
cat myfile | pv -r > /dev/null [1.90GiB/s]
fcat myfile | pv -r > /dev/null [5.90GiB/s]
Note: Only works on Linux.
(But you can send me a pull request for other operating systems.)
cargo install fcat
fcat file1 file2 file3
If you run
fcat /dev/zero >> myfile, it will fail with exit code
EINVAL because, according to the splice manpage: "The target file is opened in append mode."
fcat is licensed under either of
at your option.