{"id":2993,"date":"2012-09-10T07:13:35","date_gmt":"2012-09-10T07:13:35","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=2993"},"modified":"2014-11-21T06:55:57","modified_gmt":"2014-11-21T06:55:57","slug":"split-command","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/split-command\/","title":{"rendered":"Split command"},"content":{"rendered":"<p>Split is a command which is used to split a file into pieces by default the split command split files in to the 1000 lines, and default PREFIX is `x&#8217;. The following arguments are present with the split command.<\/p>\n<blockquote><p><strong>~~~~~~~~~~~~<\/p>\n<p>  -a, &#8211;suffix-length=N   use suffixes of length N (default 2)<br \/>\n  -b, &#8211;bytes=SIZE        put SIZE bytes per output file<br \/>\n  -C, &#8211;line-bytes=SIZE   put at most SIZE bytes of lines per output file<br \/>\n  -d, &#8211;numeric-suffixes  use numeric suffixes instead of alphabetic<br \/>\n  -l, &#8211;lines=NUMBER      put NUMBER lines per output file<br \/>\n      &#8211;verbose           print a diagnostic to standard error just<br \/>\n                            before each output file is opened<br \/>\n~~~~~~~~~~~<\/strong><\/p><\/blockquote>\n<p>The latest split version is 5.97 and you can also confirm the split version by using the following command.<\/p>\n<p><strong>split &#8211;version<\/strong><\/p>\n<blockquote><p><strong>root@linux [~]# split &#8211;version<br \/>\nsplit (GNU coreutils) 5.97<br \/>\nCopyright (C) 2006 Free Software Foundation, Inc.<\/strong><\/p><\/blockquote>\n<p>The most common use of split command is to split the big files into the small files to download in on local machine or on remote server.<\/p>\n<p>For example, if we want to split the 210M file in to the set of 21M files than use the following command.<\/p>\n<p>split &#8211;bytes=20971520  FILENAME new-21mb-size<\/p>\n<p>The above command will split the 210M file in to the 10 small files.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Split is a command which is used to split a file into pieces by default the split command split files in to the 1000 lines, <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/split-command\/\" title=\"Split command\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2993","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2993"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=2993"}],"version-history":[{"count":5,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2993\/revisions"}],"predecessor-version":[{"id":3772,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2993\/revisions\/3772"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=2993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=2993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=2993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}