TAR - suppress socket ignored

Let's say you are attempting to create a tar archive.

tar -cf tmp.tar /tmp


And socket ignored is being included in the output.

tar: /tmp/foo: socket ignored
tar: /tmp/bar: socket ignored


The --warning='no-file-ignored' option can be used to suppress socket ignored warnings from the output.

tar --warning='no-file-ignored' -cf tmp.tar /tmp


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 8a749 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |