News for hackers. Stuff that matters.
Re:Transfer.sh – File sharing from the command line by reacweb on Wednesday June 20, 2018 @10:42AM (#17355826)
If you can trust to have gnu tar on both side, you can reduce typing. I usually do: tar c files.txt orDir | ssh -C host tar x -C /dest/dir
Re:Transfer.sh – File sharing from the command line by coatmatter on Wednesday June 20, 2018 @11:38AM (#17356382)
What about just typing rsync -havz --progress source destination?

-h for human-readable numbers -a for archive mode -v and --progress for verbose info -z for compression during transfer

Add a -n for a dry run if required.

https://linux.die.net/man/1/rsync

One of the people who came up with it - Andrew Tridgell - was more or less "responsible" for Linux and BitKeeper parting ways, which in turn ultimately lead to the creation of Git. I think it's a fascinating story. Excellent tools.

The progress / speed display is the main thing that keeps me coming back to rsync even though other tools might manage the same job - not seeing the progress of a copy is what had me searching for that solution in the very first place.

Re:Transfer.sh – File sharing from the command line by phre4k on Wednesday June 20, 2018 @02:10PM (#17358006)
Yo dawg, I heard you like progress, so check out rsync's

--info=progress2

You can use it since rsync version 3.1.0.

Re:Transfer.sh – File sharing from the command line by coatmatter on Wednesday June 20, 2018 @07:44PM (#17360921)
Hah I've seen that in the man a few times but always feel too lazy to call it up. Next time I'll give it another go!