I am new to ubuntu. I have an error when using tar function along with gzip. I usee the following code :
find -type d -name 'doc*' | tar -czvf /path/where/gz/file/is/stored/file.tar.gz -T-
But the process begins, starts zipping and it is interupted in between showing this:
gzip: short write tar: write error: Broken pipe
and creates a empty tar.gz. How can I rectify this?