What is the idiomatic way to do the following
- tar to stdout
- read this tar output from stdout and extract to some other folder.
My solution is
tar --to-stdout .. | tar -C somefolder -xvf -
But may be there is more idiomatic way to do it.
GNU tar uses stdio by default:
rsync is also popular.