Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I turn off the output from tar commands on Unix? [closed]

Tags:

unix

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
like image 915
h.l.m Avatar asked Nov 12 '12 10:11

h.l.m


People also ask

What is Z option in tar?

z – filter archive through gzip. r – append or update files or directories to the existing archive files. W – Verify an archive file. wildcards – Specify patterns in UNIX tar command.

Which Linux tar command option makes tar display the files it's operating on?

--verbose ( -v ) - Show the files being processed by the tar command.

What is tar ZXVF Linux?

The -xzvf flags tell the tar command that you want to extract files from an archive.


1 Answers

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
like image 146
P.P Avatar answered Oct 04 '22 13:10

P.P