hi
I've been dealing with quite a frustrating problem of redirection when using tar.
The problem is when I'm comparing if a certain file exists in a tar file. If the file doesn't exist I always get an error message saying that the file doesn't exists and such.
Even though I use redirection to /dev/null like:
Code:
tar -df TarFile.tar TestFile & > /dev/null
I always get the error message.
When the comparison is successful, I get no error message.
I basically don't want any extra output from tar.
Is there any way to suppress the error message?
regards
Marri