I have a 500G file that I would like to split in linux, but I don't have another 500G free for running split(1).
Is there a tool or script that will split the file in-place into 1G chunks while using minimal extra space?
|
I have a 500G file that I would like to split in linux, but I don't have another 500G free for running Is there a tool or script that will split the file in-place into 1G chunks while using minimal extra space? |
|||
|
|
gedit has successfully ran after disassembling and assembling it again. |
|||||||
|
|
Do you actually have the 500GB file yet? If you're generating a 500GB file by archiving a folder or disk, and then trying to split it, you can split it on-the-fly by piping the output of tar (or whatever you're using) into split:
This will make DVD-sized splits of an archive of my Time machine database. However, it does make them all at once, which means that it really doesn't do what you're looking for. See my question here for more info. Whitequark's script could be useful over there with some slight modification! I'll have to try it. |
||||
|
|