Splitting a file into many pieces

By rainkinz on Nov 11, 2011, comments 18

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 &
6639
02790a417dfcc044d23ac30423a79f93.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest pBPXmkqLCfgSMZ on Feb 01, 2020 at 2:01 PM

DUtZSTOxKdgs

6640
02790a417dfcc044d23ac30423a79f93.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest XJOLrUhHPNQTBCb on Feb 01, 2020 at 2:01 PM

aHfeOigIAty

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.

6667
412c48093032cc835e406d7444538be0.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest ohmZwEHbFCJq on Mar 27, 2020 at 9:32 PM

MNCGRidPA

6668
412c48093032cc835e406d7444538be0.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest IgfyDmvOCjlnXHa on Mar 27, 2020 at 9:32 PM

rmoWOZfyVE

6695
8aca8e79c7e7d52d62b416c1bb61b162.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest vbCFQNVsmKRr on Apr 24, 2020 at 5:19 AM

tYspUhknyr

6696
8aca8e79c7e7d52d62b416c1bb61b162.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest kybPBwACIEiMGv on Apr 24, 2020 at 5:20 AM

MTYuniqzj

6611
8989a6da2be2bcd88c679642585f1c43.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest yYfDFlqI on Dec 08, 2019 at 10:37 AM

egEUJGkovbrIA

6612
8989a6da2be2bcd88c679642585f1c43.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest LjBRKaDHcndS on Dec 08, 2019 at 10:37 AM

fdDtIPzgcRHvSqm

Comment: