We help IT Professionals succeed at work.
Get Started

Linux: Trouble with very large file

hankknight asked
Last Modified: 2013-12-16
I created a tar archive like this:

tar czf foobar.tar.gz /my/dir/

The size of the file is 6 GB.

I need to send the file to a different computer using FTP but I get an error:
Error: File `foobar.tar.gz' does not exist.

So I tried to split it but I got an error:
split: cannot open `foobar.tar.gz' for reading: No such file or directory

I can see the file using "ls -lh"
-rw-r--r--   1 myuser mygroup 6.4G Dec 28 09:11 foobar.tar.gz

What should I do?  Is there a way to create multiple smaller tar files?  Or is there a way to send the file?

I use CentOS 4 (32 bit).
Watch Question
Distinguished Expert 2020
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE