How to split a large file into a couple of smaller files?


Results 1 to 12 of 12

Thread: How to split a large file into a couple of smaller files?

Hybrid View

  1. #1
    Join Date
    Sep 2002
    Posts
    720

    [SOLVED]How to split a large file into a couple of smaller files?

    I tried searching to no avail, so here goes.

    I got this big 1 gigabyte file that I want to transfer to Windows, but the drive is NTFS, and I do not have a DVD Burner (But I do have a CD Burner), I want to split this 1gigabyte file into 2 500 MB files so that it will fit on two CDs.

    It's actually a video file, I know rar supports splitting their archives up, but I am at a loss at how to do this from the command line. Can Ark split rar file up?

    Thanks in advance.
    Last edited by Seph64; 02-12-2005 at 12:16 PM.
    "Who is General Failure and why is he reading my Hard Drive?"
    Linux OSes I use: Gentoo, and Linux From Scratch.
    Current Screen Shot
    Join a good cause and start folding today!Join the Just Linux Regulars team!

  2. #2
    Join Date
    Aug 2001
    Location
    Somewhere, Texas
    Posts
    9,627
    I would try split and once transfered cat them together again.

  3. #3
    Join Date
    Sep 2002
    Posts
    720
    Um, Okay?

    EDIT: Oh sorry, I did not know that there was a split command. I r newbie!

    Thanks.
    Last edited by Seph64; 02-04-2005 at 01:04 PM.
    "Who is General Failure and why is he reading my Hard Drive?"
    Linux OSes I use: Gentoo, and Linux From Scratch.
    Current Screen Shot
    Join a good cause and start folding today!Join the Just Linux Regulars team!

  4. #4
    Join Date
    Sep 2002
    Posts
    720
    I need a way that does not require a Unix type enironment since I am trying to copy from a Linux partition to a Windows partition. I've tried install cygwin, but the domain is down and thus I can't download it's mirrors.txt file.
    "Who is General Failure and why is he reading my Hard Drive?"
    Linux OSes I use: Gentoo, and Linux From Scratch.
    Current Screen Shot
    Join a good cause and start folding today!Join the Just Linux Regulars team!

  5. #5
    Join Date
    Aug 2001
    Location
    Somewhere, Texas
    Posts
    9,627
    Try zipsplit

    zipsplit [-hiLpst] [-n size] [-b path] zipfile

    or man zip

  6. #6
    Join Date
    Sep 2002
    Posts
    720
    Nope, not happening.

    I am going to guess that it tries zipping them up before splitting them up.

    Code:
    zipsplit video.avi
    zipsplit warning: missing end signature--probably not a zip file (did you
    zipsplit warning: remember to use binary mode when you transferred it?)
    zipsplit error: Zip file structure invalid (video.avi)
    Even if I have to zip them up first I get this:

    Code:
    zipsplit video.zip
    zipsplit error: Entry too big to split (video.avi)
    "Who is General Failure and why is he reading my Hard Drive?"
    Linux OSes I use: Gentoo, and Linux From Scratch.
    Current Screen Shot
    Join a good cause and start folding today!Join the Just Linux Regulars team!

  7. #7
    Join Date
    Feb 2003
    Location
    London
    Posts
    1,022
    If you can get to the cygwin site, (seem ok now), download and use the dd util to split the file in Linux, then dd again in windows to glue it back together.
    Cheers
    Chris

  8. #8
    Join Date
    Feb 2005
    Posts
    11
    I use MasterSplitter for WinOS. It creates the number of files you desire (in this case two) plus an tiny .exe "joiner" so you can join them without the need of having MasterSplitter on that machine.

    I have an old copy I got years ago from download.com. Under properties it says ver. 1.0. Download.com has a 4.1i version, but if it doesn't work for you, PM me an emal address and I'll the app I got.

    Download.com MasterSplitter 4.1i
    http://www.download.com/MasterSplitt...ml?tag=lst-0-1

    DrCR

    ________

  9. #9
    Join Date
    Oct 2002
    Location
    London
    Posts
    108
    Hi There,

    You state you are trying to go from a Linux partition to an NTFS Partition... Are they both on the same PC? If so there are several ways of accessing your data from either OS.

    Regards,
    Bizza
    --------------------------------------
    Peace, Man!
    Registered Linux user #297724

  10. #10
    Join Date
    Sep 2002
    Posts
    720
    Sorry for not reporting back, yes it was the same machine. And I found a way. Via, an application to read reiserfs from windows.

    *goes to edit subject to state SOLVED*
    "Who is General Failure and why is he reading my Hard Drive?"
    Linux OSes I use: Gentoo, and Linux From Scratch.
    Current Screen Shot
    Join a good cause and start folding today!Join the Just Linux Regulars team!

  11. #11
    Join Date
    Aug 2001
    Location
    Somewhere, Texas
    Posts
    9,627
    Originally posted by Seph64
    Via, an application to read reiserfs from windows.
    Got a link to that? I'm sure there are more then a few people that would like that

  12. #12
    Join Date
    Sep 2002
    Posts
    720
    http://www.stud.uni-karlsruhe.de/%7E...ReG/index.html

    It's a gui frontend for rfstool (which is required, and the site has a link to the rfstool site).
    "Who is General Failure and why is he reading my Hard Drive?"
    Linux OSes I use: Gentoo, and Linux From Scratch.
    Current Screen Shot
    Join a good cause and start folding today!Join the Just Linux Regulars team!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •