Splitting a file into many pieces

By rainkinz on Nov 11, 2011, comments 10

The other day I was trying to copy a large gzip file onto a USB drive and it kept erroring out when it hit the 4Gb mark. I realized (face palm) that the drive is formatted as a vfat filesystem. Obviously vfat is limited to max a max file size of 4Gb. So simply split the file into 4000MB chunks with:

split --line-bytes=4000m foo.tar.gz foo_ &

Copy the pieces onto the USB drive. Take the USB drive to the other copmputer. Copy the files off the drive and rejoin the file with:

cat foo_a* > foo.tar.gz &
5832
16e8583e2dc08ee1d6b320cbca8590ad.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest Viia on Oct 22, 2015 at 1:40 AM

 ( 2012.02.21 19:01 ) : I need to demonstrate my own thkans to this article writer exclusively for rescuing me through such a placing. As a result of browsing on from the the net as well as getting guidelines which are not really enjoyable, I thought my well being was more than. Living minus the strategies to the problems you've solved by way of all of your site is a critical scenario, as well as ones that might possess terribly ruined my entire career basically had not identified the web site. Much of your mastery as well as goodness in working with a lot of stuff has been very helpful. I’m uncertain what I could have done easily hadn’t occur upon this kind of stuff like this. I'm also able to at this stage stay up for my potential. Thank you much for the specialized and wonderful aid. We won’t think twice to be able to suggest your internet site to be able to anyone who needs suggestions about this subject material.

Comment: