#TIL that I can zip something on a remote Ubuntu machine via ssh with no temporary space needed remotely.
The local command (when I'm splitting the transfer into chunks) looks a bit like this
ssh -i ~/.ssh/mykey [email protected] "gzip -1 -c /tmp/mylargelogfile.log" | split -b 100m - mylargelogfile.log.gz.part.
This may be super obvious for #Linux users, but is pretty mind blowing for users of the evil operating system where the workflow for decades was zip locally, then transfer...






