LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2010, 06:34 PM   #1
gr4nt
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Rep: Reputation: 0
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.
 
Old 08-10-2010, 06:56 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
split

Just install cygwin on windows.


Cheers,
Tink
 
Old 08-10-2010, 10:16 PM   #3
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 727

Rep: Reputation: 74
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
 
Old 08-15-2010, 07:04 PM   #4
gr4nt
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line utility to split a zip file paragkalra Linux - Software 1 09-16-2008 11:09 AM
Cross Platform Calendaring Application or Service Needed dthacker Linux - Software 1 04-28-2007 03:11 PM
Cross platform split files compressor does not exist!! ruiseixas Linux - Desktop 2 01-10-2007 09:05 PM
Linker option or utility to split out size of .o files e2vincent Linux - General 1 04-15-2005 02:50 AM
Cross Platform biggiefatts Linux - Software 4 06-04-2002 04:00 PM


All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration