gcp() { cat "$1" | pv | cat > "$2" }
pv < "$1" > "$2"
pv "$1" > "$2"
<"$1" pv >"$2"
Reply on news.ycombinator.com