~ecs/dotfiles

48809721728b83999b31c0f60a553839c24169f8 — Eyal Sawady 10 days ago dbb4262
sendit: take directories on command line

Instead of stdin
1 files changed, 3 insertions(+), 1 deletions(-)

M bin/sendit
M bin/sendit => bin/sendit +3 -1
@@ 1,3 1,5 @@
#!/bin/sh

xargs tar cv | pv | zstd | busybox nc "$1" 12345
host="$1"
shift
tar cv "$@" | pv | zstd | busybox nc "$host" 12345