Skip to content

How to split large file in smaller files using Linux

Hello,

To split a large file in several smaller files, you can use Split from Linux. How it works? Man split.

split –bytes=1m /path/large/file /path/output/file/prefix

You can replace the suffix of –bytes with many values as follow:
kB = 1000
K = 1024
MB = 1000 * 1000
M = 1024 * 1024
G = 1000 * 1000 * 1000
GB = 1024 * 1024 * 1024

Best Regards,
Matheus

Reference:
http://www.techiecorner.com/107/how-to-split-large-file-into-several-smaller-files-linux/

Published inLinux

3 Comments

  1. I was wondering if you ever thought of changing the structure of your blog? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 images. Maybe you could space it out better?

Leave a Reply

Your email address will not be published. Required fields are marked *