Simple question...
* I have a a.tar.Z compressed file in directory A.
* I want to uncompress and untar the files in a.tar.Z and put them in directory B.
Is there a more efficient way than doing it in 3 steps...
- cp A/a.tar.Z B/.
- uncompress B/a.tar.Z
- tar -xvf B/a.tar
Thanks for your help.
* I have a a.tar.Z compressed file in directory A.
* I want to uncompress and untar the files in a.tar.Z and put them in directory B.
Is there a more efficient way than doing it in 3 steps...
- cp A/a.tar.Z B/.
- uncompress B/a.tar.Z
- tar -xvf B/a.tar
Thanks for your help.