Home > Tools > Split a file into multiple files using 7-zip utility

Split a file into multiple files using 7-zip utility


We may need to compress a huge file to reduce its actual size for storage or transmitting to remote locations. Sometimes, even the compressed file may look large than we expected. So, we may wish to split the huge file into multiple reasonable small chunks for storage or transfer.

There are various compression software available now-a-days. But I am going to use an open source software.

In my example, I am going to split a 484MB file into multiple files of size 128MB.

Step 1: My file

pic1

Step 2: Executing the following command

7z  a SplitMyData -mx0 -v125m MyData.txt

Color coded texts are the 7 zip’s arguments

a = Archive

-mx0 = No compression

-v125m = split size 125 MB

SplitMyData is the file name for file splitting

MyData.txt is the source file

After this command is executed we will get the output as shown below.

pic1So, now we got the files of size we want and it is very simple to do so. This will be really helpful to transfer large file in the slow network.

In the next blog post, I will talk about merging these files into original file.

Full list of 7-zips arguments is given below:

pic2

Thanks for reading.

About these ads
Categories: Tools Tags: , ,
  1. No comments yet.
  1. February 20, 2014 at 2:26 pm

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

Follow

Get every new post delivered to your Inbox.

Join 328 other followers

%d bloggers like this: