Hi to all of you,
In this post you will see how to split a file and for my example I use Ubuntu Linux 10.04 (32bit)
Let us assume that you need to send all the files in a folder to a friend. Select all the files and right-click on your selection -> choose Compress … and when the File Roller window appear give a name to your archive. Finally choose an extension – let say .tar.gz and hit Create button. All the files in your folder will be packed in a .tar file (container) and compressed with gzip.
And if, for instance, the final result is a 20 megabyte file you will maybe want to split it and send the pieces (chunks) in 2 or 3 electronic mails as attachments.
Here is how to find the decision of the task:
1. Install the tool that will be able to split the archive (on your computer). And that is the tool that your friend will use to merge the chunks on his machine (if he uses Ubuntu 10.04, let’s say).
In command line write down:
sudo apt-get install lxsplit
2. Do the job after installation.
cd /home/jack/Desktop/dox – and if in this directory is your packed archive, for example file.tar.gz
you can split it using lxsplit in command line:
lxsplit -s file.tar.gz 5m
-s means split the file
The result will be a few files with size not exceeding 5 megabytes each and extension .001, .002, …
Attach the files and send them to your recipient. He must download them and save all the files in one folder.
3. Join the files
Your friend will use the same program, already installed on his machine, to merge the files:
lxsplit -j file.tar.gz.001
-j means join the files
That’s all.
->
->
PS
Help for Windows users:
If your friend-recipient uses a Windows XP 32bit machine he will be able to merge the chunks using a program that does not need even an installation process.
Here is a link -
http://planetdes.files.wordpress.com/2011/03/hjsplit3-tar.xls
download the file and rename the .xls extension to .gz
>
Unpack this .tar.gz archive with a tool of your choice (WinRAR, IZArc, PowerArchiver, … ) and in the resulting folder you will find two files: hjsplit.exe and readme.txt.
I suggest you make a folder called HJSplit3 and move that folder to C:\Program Files.
Copy the files hjsplit.exe and readme.txt in C:\Program Files\HJSplit3 and place a shortcut on your Windows Desktop to the executable file hjsplit.exe
Run the executable, by activating the desktop shortcut, and you are ready to use the program HJ-Split:
Split a file of your choice or Join previously splitted files -
in the first case just hit the Split button and locate the file you are going to split – use the appropriate button to finish you job.
in the second case – locate the folder in which you already placed all the files with .001, .002, … extensions. And choose, by HJ-Split, the first file – with the extension .001 - the rest is easy to finish the merging operation.
-
So in this article I want to say that Linux and Windows users can exchange archived/compressed files splitting them in order to transfer them via Internet.
A Windows user can create so called compressed/zipped folder by the operating system itself and in such a way avoiding to use commercial products (like for example WinRAR, …). A Linux user can create .zip archives too – FileRoller is a good front-end.
So thanks to HJ-Split the Windows user can split a big .zip archive and send it to a Linux user. The Linux user can merge the chunks using lxsplit in command line and finally get to the .zip archive, which can be easy extracted by FileRoller, for example.
The opposite – if a Linux user creates a .zip archive and splits it up into chunks he can send them to a Windows fellow through Internet. The Windows user can merge the chunks using HJ-Split.
-
And that is a real friendship between the two OS users. What do you think ?
See also: http://www.hjsplit.org/linux/
or read down ->
Freeware Windows file splitter
Version 3.0
Updated on November 11, 2010
HJSplit for Windows is a freeware file splitter which runs on all 32 bit and 64 bit editions of Windows. HJSplit supports file sizes of over 100 Gigabytes, it can split files, join/recombine files, create MD5 checksums, compare files and "run without install". HJSplit is also fully portable: you can run it directly off a DVD, CD or USB stick.
HJSplit for Windows does not need to be installed nor does it depend on
any special DLL's.
Just extract the contents of the zip file into a directory of your
choice, and start the program by double
clicking on hjsplit.exe.
- see the picture - here.
To download HJSplit 3.0 for Windows (200 Kb), just click on
one of the links below: hjsplit.zip
(location 1)
hjsplit.zip
(location 2)
hjsplit.zip
(location 3)
or download from http://free-rar.free.bg/freefiles/hjsplit/windows
See section MAC file splitters for users with Apple computers
( http://www.hjsplit.org/mac/ ).
Freeware Linux file splitter
Version 3.1
Updated on November 21, 2010
HJSplit for Linux is a freeware file splitter for Linux with full graphical user-interface. HJSplit supports file sizes of over 100 Gigabytes, Split, Join/Recombine, MD5 checksums, file-compare, "run without install" and the program is fully portable.
HJSplit for Linux does not need to be installed and it does not depend
on any special libraries.
Just extract the hjsplitlx.tar.gz archive into a directory of your
choice and start the program from the Linux file manager or a terminal
window. You might need to adjust the program's file permissions to
'executable'.
- see picture here.