Bubbles
3 points · 15 hours ago · 0 comments

So apparently rsync is slop now. When I heard, I wanted to drop a quick note on my blog to give an alternative: tar. It doesn’t do everything that rsync does, in particular identifying and skipping up-to-date files, but tar + ssh can definitely accomodate the use case of “transmit all of these files over an SSH connection to another host”. Consider the following: tar -cz public | ssh example.org tar -C /var/www -x This will transfer the contents of ./public/ to example.org:/var/www/public/, p...

No comments yet. Log in to reply on the Fediverse. Comments will appear here.