Jak co nejrchleji zkopirvat soubory
Martin `MJ' Mares
mj na ucw.cz
Čtvrtek Říjen 30 14:40:44 CET 2014
Hello, world!
> Příkaz na 1 řádek, raději ve screen
>
> ssh VzdalenyUser na stroj -C 'tar -cf - soubory | gzip' | gunzip | tar xvf -
Jen na okraj: "ssh -C" komprimuje samo, netřeba přidávat gzip a gunzip.
Have a nice fortnight
--
Martin `MJ' Mares <mj na ucw.cz> http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"It is easier to port a shell than a shell script." -- Larry Wall
Další informace o konferenci Linux