Add

Split and join files in Ubuntu with lxsplit


Below I DESCRIBE how to split the file into larger Several small files. This is Useful When You Want to copy the file on the stick is Bigger Than the Stick's capacity.

The file used is this example is a 75 MB. Mkv.

I Will use for splitting and joining the lxsplit. Mkv file. So, i need to install lxsplit:

wget http://sourceforge.net/projects/lxsplit/files/lxsplit/lxsplit-0.2.4.tar.gz/download

Decompression:

Ducu mylaptop @: ~ / temp $ tar-xvvzf lxsplit-0.2.4.tar.gz

drwxrwxr-x Ozzie / Ozzie 0 3/10/2008 3:28 p.m. lxsplit-0.2.4 /

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/mkuoff_t.c 3200 02/02/2008 10:03

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/Makefile 1618 05/31/2008 11:03

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/func.c 2520 8:15 p.m. 07/02/2008

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/config.h 2440 3:05 p.m. 10/03/2008

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/merge.c 4749 02/02/2008 10:03

-Rw-rw-r-Ozzie / 1070 02/02/2008 9:45 Ozzie lxsplit-0.2.4/merge.h

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/README 2345 3:09 p.m. 10/03/2008

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/ChangeLog 1715 3:09 p.m. 10/03/2008

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/func.h 1174 8:15 p.m. 07/02/2008

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/lxsplit.spec 1320 3:25 p.m. 10/03/2008

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/split.h 1080 02/02/2008 10:03

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/split.c 4375 3:04 p.m. 10/03/2008

-Rw-rw-r-Ozzie / Ozzie lxsplit-0.2.4/main.c 3670 3:03 p.m. 10/03/2008

-Rw-rw-r-Ozzie / Ozzie 17990 02/02/2008 9:45 lxsplit-0.2.4/COPYING

Access Give the new folder and make the command:

lxsplit-0.2.4 cd /

make

Next, make install command. This is the result:

Ducu mylaptop @: ~ / $ sudo make install temp/lxsplit-0.2.4

lxsplit cp / usr / local / bin

This is my 75MB. Mkv file:

Ducu mylaptop @: ~ / $ ls-ALH movies/Inside.Man.2006.1080p.HDDVD.x264-SZ/Sample

total 75M

drwxr-xr-x 2 4.0K 21/07/2009 9:28 p.m. Ducu Ducu.

drwxr-xr-x 3 4.0K 06/13/2009 2:15 Ducu Ducu ..

-Rw-r-r-1 Ducu Ducu 75M 6/13/2009 2:47 Inside.Man.2006.1080p.HDDVD.x264-SZ-SAMPLE.mkv

I Will split the 75 MB file in chunks of 20 MB.

Ducu mylaptop @: ~ / $ movies/Inside.Man.2006.1080p.HDDVD.x264-SZ/Sample lxsplit, and SZ-SAMPLE.mkv Inside.Man.2006.1080p.HDDVD.x264, 20M

Inside.Man.2006.1080p.HDDVD.x264-SZ-SAMPLE.mkv splitting into four pieces.

SZ-SAMPLE.mkv.001 Inside.Man ... 20,971,520 bytes

SZ-SAMPLE.mkv.002 Inside.Man ... 20,971,520 bytes

SZ-SAMPLE.mkv.003 Inside.Man ... 20,971,520 bytes

SZ-SAMPLE.mkv.004 Inside.Man ... 14,767,172 bytes

Done!

Now I Will join the four files resulted:

Ducu mylaptop @: ~ / $ movies/Inside.Man.2006.1080p.HDDVD.x264-SZ/Sample lxsplit-j-SZ-SAMPLE.mkv Inside.Man.2006.1080p.HDDVD.x264 .001

Creating merged file `Inside.Man.2006.1080p.HDDVD.x264-SZ-SAMPLE.mkv '.

Full size: 77681732 in 4 files.

Processing file `SZ-SAMPLE.mkv.001 Inside.Man ... '...

Processing file `SZ-SAMPLE.mkv.002 Inside.Man ... '...

Processing file `SZ-SAMPLE.mkv.003 Inside.Man ... '...

Processing file `SZ-SAMPLE.mkv.004 Inside.Man ... '...

Done!

If you used this tutorial or have Any questions, feel free to leave a comment Below. You Can Also rate this tutorial to let me know how I'm doing. Thanks! :)

1 Star2 Stars3 Stars4 Stars5 Stars (15 votes, average: 5.00 out of 5)
Loading ... Loading ...

The Discussion

see what everyone is Saying

  • Dean July 22nd, 2009 at 10:53 # 1

    Very good tutorial. Exactly what I needed.
    It Would Be amazing if it WAS in English, or if There Was a plugin for translation.
    Thanks a lot!

  • admin July 22nd, 2009 at 11:42 # 2

    @ Dean

    I'm Glad you find this helpful. Soon the translation plugin will be avaible. Come back and check it! :)

  • Raul Molnar August 3rd, 2009 at 2:37 p.m. # 3

    Super loud, I thought the only one looking for such information :) .

  • Michael October 7th, 2009 at 6:40 p.m. # 4

    Thank you for your help!

  • dealon October 23rd, 2009 at 7:46 p.m. # 5

    Hi

    I got the Following error while i tried 'make' on the lxsplit-0.2.4 folder.

    I have the structure as ~ / download/lxsplit-0.2.4.

    help requested.

    thx
    raj

  • admin October 23rd, 2009 at 10:47 p.m. # 6

    @ Raj: Please specify the error you get.

  • Me July 3rd, 2010 at 0:18 # 7

    lxsplit is in the ubuntu repositories - you CAN install with synaptic or apt.

  • Jimbo September 20th, 2010 at 2:07 # 8

    Does not work if you just split the files. Sure, you get two files of size Unspecified - but if you view # 1 - Will it still show the full length and the second one will be soundless and garbled video.

  • ODI September 25th, 2010 at 6:34 # 9

    Thanks for your step by step illustration!
    worked perfectly for me ....
    keep up the good work ...
    :)

  • ODI September 25th, 2010 at 6:39 # 10

    : (
    im Able to open just the first file ... later ones seem corrupted
    anyone help?

  • Schedule October 30th, 2010 at 12:47 # 11

    You you should make changes to the post subject Split and join files in Ubuntu with lxsplit | EtutsResourcesIT to Something more specific for your blog post you create. I loved the writing the eventual sononetheless.

Respond

get in on the action.

* Required

Rumanian flagItalian flagEnglish flagGerman flagFrench flagSpanish flagRussian flagDutch flagDanish flagFinnish flagSwedish flagNorwegian flagHungarian flag        
By N2H

Random Posts Recent Comments

  • admin Says:

    Amigo, Please formulated your question in english if you really need help! Cheers! ...

  • Mauricio Gonçalves Says:

    Boa tarde, I nao consigo Amigo add user novo Podere ajudar me? They pride nao é que a commando ...

  • Flossy Says:

    Zubao0 That's really thinking out of the box. Thanks! ...

  • Michael Esch Says:

    I used this tutorial to install Komodo Edit 6 on Ubuntu 10.10, I rate your tutorial 5/5 I hope that ...

  • admin Says:

    @ Dan I run applications created in Visual Basic and fox in the wine, so I would not be ...

  • dan Says:

    I want to tell me if a prg to count as Visual Basic running under Ubuntu with wine inscribed wonder ...

  • admin Says:

    Thank you all for your comments. As I was busy latelly, I haven't answer to your posts. I hope you u ...

  • tcpdump Says:

    Hello, I faced the error Also "It appears as though you do have permission to view informational note ...

  • Ali Says:

    awesome! ...

  • Schedule Says:

    You you should make changes to the post subject Split and join files in Ubuntu with lxsplit | EtutsR ...

Tag Cloud