How do I turn off the output from tar commands on Unix?
UnixUnix Problem Overview
I had a look at the options, but nothing seemed obvious as a manner in which to turn off the output when uncompressing a file. The below is the code I am currently using... I just need the option to switch off the output.
tar -zxvf tmp.tar.gz -C ~/tmp1
Unix Solutions
Solution 1 - Unix
Just drop the option v
.
-v
is for verbose. If you don't use it then it won't display:
tar -zxf tmp.tar.gz -C ~/tmp1