edit: I want to extra member01
and member02
and directory blah/
tarball_1.tar.gz
contains directory test/
with 20 files. I want to extract only member test/member01
and test/member02
and directory blah/
and copy them to another "remote_host" using ssh/scp.
Can this be done as a one-liner?
I considered using tar
, pax
, or cpio
but I guess I'm not very skilled with these utilities yet.