Z
Z
zooks2016-12-17 11:03:00
linux
zooks, 2016-12-17 11:03:00

How to transfer multiple files with unzip on the fly?

Hello.
There was a need to transfer many files (> 10 GB in compressed form) in conditions when the server has space only for files, not including the size of the archive itself.
In other words, now there is a tar.gz archive, how to make it uncompressed into a specific folder on the server without saving it to the server, i.e. on the fly? Through SSH or SCP.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Cheremisin, 2016-12-17
@zooks

Via nc ( netcat )!
On the client side
On the server side
Yes, just look at the command switches before using them, they differ in different operating systems - man nc and man netcat

D
Dimonchik, 2016-12-17
@dimonchik2013

you ca
n’t stick 2V into 1V in any way, but if the source archive can be split into several, then through nc is really the fastest way to transfer
www.screenage.de/blog/2007/12/30/using-netcat-and-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question