 |
 |
divide a big file, how to ?
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2003
Location: The City Of Diamonds
Status:
Offline
|
|
I have this 4,9 GB DV-file that I want to burn to CD for archiving but is there a way to divide this file into a few 650-700MB files ? (no, not to DVD as I don't have a SuperDrive). I know I could to this with a segmented StuffIt archive but this is SOOOOO slow and StuffIt hogs everything on my Ti867. Is there some nice terminalcommand that does this ? or any GUI for this sort of stuff ?
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Aug 2000
Status:
Offline
|
|
you could use quicktime pro to chop up the file by hand into 650MB segments which could be stitched together again later. But I think the stuffit option is the best one because then everything will get put back together again automatically.
Try setting the compression to the fastest (although least efficient) in the preferences and just leave it going overnight. At least it can divide the file up automatically, rether than doing it by hand. The problem with any command line things is that they wouldn't respect the encoding in the DV file, so you might end up with messed up frames at the end of the file.
hope this helps
BJPirt
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Dec 2001
Location: England, UK
Status:
Offline
|
|
In the terminal, type
Code:
split -b 650m input_file output_file
where input_file is the name of your DV file and output_file is what you want the split files to be named.
For example, if your DV file is called Movie.dv you'd type
Code:
split -b 650m Movie.dv SplitMovie_
which would create files called SplitMovie_aa, Split_Movie_ab, Split_Movie_ac etc. If you're not in the same directory as the file you'd need to cd there or include the path in the filename. For more information, type
in the terminal.
To join the files, type
Code:
cat SplitMovie_aa SplitMovie_ab SplitMovie_ac > Movie.dv
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2003
Location: The City Of Diamonds
Status:
Offline
|
|
Originally posted by GFive:
In the terminal, type
Code:
split -b 650m input_file output_file
where input_file is the name of your DV file and output_file is what you want the split files to be named.
For example, if your DV file is called Movie.dv you'd type
Code:
split -b 650m Movie.dv SplitMovie_
which would create files called SplitMovie_aa, Split_Movie_ab, Split_Movie_ac etc. If you're not in the same directory as the file you'd need to cd there or include the path in the filename. For more information, type
in the terminal.
To join the files, type
Code:
cat SplitMovie_aa SplitMovie_ab SplitMovie_ac > Movie.dv
Thank you ! I knew it had something to do with the cat command. Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
There's also a (rather ugly) GUI for these commands called Split&Concat.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 1999
Location: The Tollbooth Capital of the US
Status:
Offline
|
|
How bout using Stuffit Deluxe? That will compress files to as many parts are you like in just aboue any size.
|
|
"Evil is Powerless If the Good are Unafraid." -Ronald Reagan
Apple and Intel, the dawning of a NEW era.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status:
Offline
|
|
If you use split/cat, you need to make sure that the file you're encoding doesn't depend on a resource fork or on HFS+ metadata like type/creator codes.
I think. Right?
|
Geekspiff - generating spiffdiddlee software since before you began paying attention.
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
I think Disk Copy will segment a disk image. So you can just make an image, copy the file onto it, and let Disk Copy segment it. The option to segment is in the Preferences, Imaging tab.
Chris
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2003
Location: The City Of Diamonds
Status:
Offline
|
|
Originally posted by typoon:
How bout using Stuffit Deluxe? That will compress files to as many parts are you like in just aboue any size.
Yep, I wanted to do this at first, but I didn't have the patience to wait for the extremely slow compression of StuffIt.
Anyway, I did it with split and cat. I'm not afraid of the command line anymore.
Originally posted by chabig:
I think Disk Copy will segment a disk image. So you can just make an image, copy the file onto it, and let Disk Copy segment it. The option to segment is in the Preferences, Imaging tab.
Chris
Yeah, I checked it out, but it only allows sizes of 90MB, 630MB, 1GB and 2GB for segments and I didnt' see an option to specify a value yourself.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
Yeah, I checked it out, but it only allows sizes of 90MB, 630MB, 1GB and 2GB for segments and I didnt' see an option to specify a value yourself.
Yeah, I saw the same thing, but I figured the 630MB size would be close enough to one CD worth of data.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|