LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Needed: Cross-platform 'Split' utility (https://www.linuxquestions.org/questions/linux-newbie-8/needed-cross-platform-split-utility-825439/)

gr4nt 08-10-2010 05:34 PM

Needed: Cross-platform 'Split' utility
 
I need to transfer a 4Gbyte file from my Linux netbook to a friends WinXP desktop. And I'd like to it with a usb flash drive, but it can't handle a file larger than 2Gbyte. A limitation due to the underlying FAT32 filesystem. But I don't wish to reformat my usb as ext3 either.

So I need to split my 4GByte file into smaller chunks. And the 'split' utility needs to be available on both Linux and the WinXP operating systems.

Any suggestions please?

Thanks.

Tinkster 08-10-2010 05:56 PM

split

Just install cygwin on windows.


Cheers,
Tink

makyo 08-10-2010 09:16 PM

Hi.

If you have perl on both boxes, you could use a perl version of split at http://cpansearch.perl.org/src/CWEST...split.lafferty (untested by me).

Another perl version in Unix Power Tools 3rd Edition, O'Reilly, 2003, beginning on page 399 (briefly tested on Linux).

Best wishes ... cheers, makyo

gr4nt 08-15-2010 06:04 PM

Thanks for your help guys.

I have ended up using the rar archive utility to create a split volume archive. So, from the cli...

apt-get install rar
rar a -m0 -v1000000 test.rar bigfile.iso

The -m0 option ensures that rar stores without compressing. And
-v1000000 instructs rar to break up 'bigfile.iso' into 1GByte chunks.

And moving over onto the WinXP desktop, the 7-zip archive extracts
'bigfile.iso' withut problems.


All times are GMT -5. The time now is 04:37 PM.