Splitting a file into many pieces

By rainkinz on Nov 11, 2011, comments 28

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

6739
Fa443a664437e7874c2c18506a7b9b48.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest UhPmTCjyLxwbWHB on Jun 03, 2020 at 7:34 AM

qUskEbxDduoampc

6740
Fa443a664437e7874c2c18506a7b9b48.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest tsLXVwNPEbOdm on Jun 03, 2020 at 7:35 AM

oAWdvEbOXDeLBU

6766
14d5ef43cef94d7a64254838318bdebe.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest dnJvuiDIOyafhKbz on Jun 06, 2020 at 10:22 AM

YvkKFATZxhV

6767
14d5ef43cef94d7a64254838318bdebe.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest AVOrRDstkcuTnZJU on Jun 06, 2020 at 10:22 AM

QrVuLOedWJK

6795
07643b56e2937b3e8bc11315b14772af.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest prsQzyxTwith on Jul 11, 2020 at 3:23 PM

nCIkymOi

6796
07643b56e2937b3e8bc11315b14772af.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest IAFdcxEb on Jul 11, 2020 at 3:24 PM

HYFdsDNg

6823
E8e2f190c63ccb2ff0202416ef3dbaab.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest QfwdDtReBLSJE on Jul 15, 2020 at 11:07 AM

gvIhsaqVkjWP

6824
E8e2f190c63ccb2ff0202416ef3dbaab.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest wVHGXCjBd on Jul 15, 2020 at 11:07 AM

razSOiPJWVq

6865
83a3d3c45d0a84db9406fccd765182eb.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest pqQmhxybLe on Sep 14, 2020 at 10:01 AM

ihgPNsbTEBLU

6866
83a3d3c45d0a84db9406fccd765182eb.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest klVEetjdSW on Sep 14, 2020 at 10:01 AM

vKUsFbyJD

Comment: