fiche icon indicating copy to clipboard operation
fiche copied to clipboard

A wrapper that allows pasting multiple files

Open renich opened this issue 3 years ago • 0 comments

#!/usr/bin/env bash

files="$@"

for f in $files; do
	echo "# $f";
	cat "$f";
	echo;
done | nc termbin.com 9999

This way, you can just: termbin path/to/file1 path/to/file2 ....

for example: https://l.termbin.com/v5vkv

renich avatar Oct 23 '22 05:10 renich