problem in copy big files using tar
I am trying to copy content of single folder to multiple destination simultaneously using tar and FIFO. here is the source code
mkfifo bin1.fifo
tar -C bin -cf - . | tee bin1.fifo | tar -C bin2 -xf - &
tar -C bin1 -xf bin1.fifo
It will copy my ~/bin/ directory contents to both ~/bin1 and ~/bin2.
here small file size like up to 5 GB is copying fine. when I try to copy some media files it showing error. Media file size is nearly above 25 GB.
it shows the following error
tar: ./filename.mxf: Wrote only 7679 of 10240 bytes
tar: Exiting with failure status due to previous errors
why this error showing?. how to copy big files using tar?. Any body knows please reply.
|