Silent tar
Hi all,
I am running tar to create a tarball and I am not using the verbose option. However, I still get some output. For example: tar: Removing leading `/' from hard link targets Any way I could get rid of any output completely? I've read tar--help but haven't seen anything useful. I am running this tar command from inside a script and the output is really annoying me. Thanks! |
Code:
tar cf your_file.tar /first_dir /second_dir &> /dev/null For reference, see: http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html |
All times are GMT -5. The time now is 09:35 PM. |