How to join and split files under Linux / Ubuntu

I am sure you have seen files which ends like 001 002 003.You are using HJsplit or different softwares to join/split them.But do you know how to split or join a file under linux/ubuntu ?

Here is a couple of methods for you :

HOWTO JOIN FILES :

you can use cat command or download lxsplit.

Go to your folder which contains splitted files and then run this command (Don’t forget to change the filename :

$cat file.avi.001 > file.avi 

Or

Download lxsplit (there is also a deb file 😉 ) , go to the your folder and give :

$lxsplit -j file.avi.001

HOWTO SPLIT FILES :

Let’s split our files to 99M each with lxsplit :

$lxsplit -s file.avi 99M

yes it is ready to upload to any file host you want or do what ever you want : )

PS : There is also HJsplit for linux but lxsplit is way better than HJsplit

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s