How to divide file by half in Linux?
I want to move 650Meg file from computer to computer via MP3 Player (512Meg drive) and
I need to divide the file under linux. How to do it?. |
See the
Code:
man split |
Also,
Code:
man cat Dave |
I forgot to add that I have to merge this file in Windows so it would have to be some
packer that works with windows(rar, arj, zip etc.) |
that's not gonna happen.. you need to use a network of some kind..null modem, crossover cable, hub/switch, whatever.. something... split and cat are excellent tools... i often use it for emailing large file via gmail... just send them in several small pieces.. the only other way i see to do it is if there is a FAT partition on the windows machine, you could use a livecd (knoppix, dsl, etc) to boot.. copy the files over, cat them back together, then boot windows and have the full file...
even if you temporarily added a second hard drive the other machine for this purpose, it would be easy. I don't know of any apps for Windows than will pice together sections of a file though... |
Thanks that's some thought... But I discovered RAR in linux. One can divide files
with it as well, but your way is good as well. |
As an FYI, you can do a pseudo-cat under windows:
Code:
copy /b file1+file2 file3 |
wow... if that works that's cool, Matir... I shall try it.
I was also unaware that WinRAR can do that... |
i made a script before that will split a file to specified size, split a file to specified number of parts, combine the files, make windows batch file to combine the files in windows
Code:
#!/bin/bash |
Looks like a nice and useful script. Mind me (or yourself) adding it to http://shellscripts.org?
Greetings, Benjamin |
Quote:
and nice site by the way |
Quote:
|
All times are GMT -5. The time now is 04:34 PM. |