mc Digest, Vol 124, Issue 2
Andrey Tataranovich
tataranovich at gmail.com
Sat Oct 25 08:59:18 UTC 2014
В Sat, 25 Oct 2014 04:22:20 +0200
chris glur <crglur at gmail.com> пишет:
> I'm confused. What's the point of tar<->detar,
> unless you're moving it over a slow/expensive route?
> The data-flow is:
> Dsk->RAM->RAMtar->RANdetar->Dsk.
> And if RAM fills, it's even more absurd, by 'swapping'.
> What have I missed?
>
> == Chris Glur.
>
> PS. I'm assuming that Dsk is the SAME Dsk, as normal.
This method is universal and can be easily adopted for network
transparency:
ssh user at host "cd /path/to/src && find -name '*.png' -print0 | tar -cf- --null -T-" | tar -xf- -C /path/to/dst
P.S. tar/de-tar uses pipe and not allocates much memory.
--
WBR, Andrey Tataranovich
More information about the mc
mailing list