⬅︎ Back to ztar - my wrapper on tar -z
$ (mkdir foo; cd foo; tar xovf ../foo-xyz.tgz)The parens means run all commands in the same shell child process - this makes the "cd" stick for the subsequent "tar".The shell is for scripting too.
that only applies if you know that you want to put it in folder.
Comment
$ (mkdir foo; cd foo; tar xovf ../foo-xyz.tgz)
The parens means run all commands in the same shell child process - this makes the "cd" stick for the subsequent "tar".
The shell is for scripting too.
Replies
that only applies if you know that you want to put it in folder.