TAR - suppress socket ignored
by
Jeremy Canfield |
Updated: September 01 2021
| TAR articles
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
Did you find this article helpful?
If so, consider buying me a coffee over at