how split and join file with lxsplit in ubuntu ?
I already explain to you how to join some files in my article before. now I have to describe how to join and split some files using lxsplit.
first, we have to install lxsplit by using command :
#sudo apt-get install lxsplit
then, we ready to use lxsplit.
if we want to split file in chunks of some size, we can use command :
#lxsplit -s file.rar 50M
it’s mean, I will split the file into 2 pieces with 50 MB per pieces.
if we want to join some files, we can use command :
#lxsplit -j file.rar.001
Creating merged file `file.rar’.
Complete size: 70819610 in 2 files.
Processing file `file.rar.001′ …
Processing file `file.rar.002′ …
Done!
it’s mean, I will join the 2 files into 1 file.
resource : split and join files in ubuntu with lxsplit
October 22, 2010 at 9:59 pm
Nice, alas, if you apply it to flv files, after the first chunk the rest become corrupted. Any ideas to split flv files? Cheers
October 26, 2010 at 7:05 am
if you want to split flv file you can’t use lxsplit. so you can used ffmpeg. i give you examples :
fisrt thing you have to installed ffmpeg using
#sudo apt-get install ffmpeg
then use ffmpeg to split into one piece of file
#ffmpeg -i test.flv -ss 00:00:00 -t 00:02:02 -vcodec copy -acodec copy newtest.flv
that command below mean that you split file into two minute and 2 seconds long.
i hope this can help you. if you want more please read ffmpeg documentation.