Tuesday, 2 June 2015

split

Split Command:
---------------------------

-d , numeric file name
-a, number of character in the file name.
  • 0 at the end is file prefix

split -5100 -d -a6  187557-post1.13134_12.1367607900 0

output:
-rw-r--r-- 1 root root 5.1M Sep  1 07:01 0000003
-rw-r--r-- 1 root root 4.7M Sep  1 07:01 0000002

-rw-r--r-- 1 root root 4.8M Sep  1 07:01 0000001

No comments:

Post a Comment