2010/12/29 Peter Humphrey <pe...@humphrey.ukfsn.org>: > On Monday 27 December 2010 15:47:19 Dale wrote: > >> Some people do use tar especially if it is over a network or >> something like that. I don't have the command tho since I never >> used it. > > Just for completeness: > > (cd [source] && tar cpf - . | (cd [dest] && tar xpf - ) ) > > (I think). > > Would someone here please tell me what the rhs should be if the > destination is at the other end of a network link?
On the destination r...@richese:~# nc -l 5555 | tar -xjv tar: Rozmiar rekordu = 8 bloków Pobrane/ Pobrane/Vol 28_16.pdf Pobrane/EPWA-APP2.flac Pobrane/EPWA-APP1.flac r...@richese:~# On the source: ther...@richese:~$ tar -cjv Pobrane/ | nc localhost 5555 Pobrane/ Pobrane/Vol 28_16.pdf Pobrane/EPWA-APP2.flac Pobrane/EPWA-APP1.flac ther...@richese:~$ Voila ! r...@richese:~# ls -l Pobrane/ razem 5580 -rw-r--r-- 1 thermal thermal 1623054 2010-12-26 23:57 EPWA-APP1.flac -rw-r--r-- 1 thermal thermal 3657627 2010-12-26 23:57 EPWA-APP2.flac -rw-r--r-- 1 thermal thermal 429580 2010-08-18 21:38 Vol 28_16.pdf r...@richese:~# Br, Maciej Grela