LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-13-2010, 04:17 AM   #1
mdfakkeer
Member
 
Registered: Jul 2009
Location: India
Distribution: Fedora,ubuntu
Posts: 35

Rep: Reputation: Disabled
Wink 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.
 
Old 09-13-2010, 06:11 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Are you running out of disk space?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
How can I copy "big files" to external disk??? cemdestici Solaris / OpenSolaris 3 04-13-2010 12:19 AM
How to copy tar files from unix floppy disk to linux WWII Linux - Newbie 6 07-24-2009 01:48 PM
backup files, tar, do i need to make a copy dtra Linux - Software 3 05-10-2005 08:52 PM
ftp problem with uploading big files joeSVK Linux - Networking 2 05-10-2005 03:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration