tar a single file, I can give the
tar file a desired name:
$ tar -cvfj A B
I would like to do the same when I untar a single file.
$ tar -xvjf A tmp
I was trying to do this using
$ tar -xvjf $1 | mv $1 tmp
That didn't work.
$1 can be an arbitrary name, but the
tar files will always be a single file, no folders (this is guaranteed).