S
S
Sergey Karbivnichy2018-11-20 21:54:39
linux
Sergey Karbivnichy, 2018-11-20 21:54:39

How to remove some lines from the output of a bash script?

There is a bash script. It contains the command: Everything works fine, only these lines interfere: I need to remove the lines "tar: Ignoring unknown extended header keyword 'SCHILY.fflags'" from the output of the script execution Thank you!
tar -xpJf $package_full -C $package/ /
5bf4583ce382b480932477.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Softer, 2018-11-20
@hottabxp

tar -xpJf $package_full -C $package/ / 2>&1 | grep -v "SCHILY.fflags"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question