Reverse tar

Dan Nelson dnelson at allantgroup.com
Fri May 2 08:27:54 PDT 2003


In the last episode (May 02), ODHIAMBO Washington said:
> 
> I would like to ssh to host B, cd some/path, tar some/path/directory/
> and output the tarball locally to TARBALL.tgz

Have you tried:

ssh hostb "cd some/path ; tar czf - directory" > TARBALL.tgz

?

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list