Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

split big file into smaller parts

# To split file into multiple parts of 100MB each. 
# Parts will be named part_aa, part_ab, ... , part_ba, part_bb, ...
split -b 100m my-huge-file.xyz part_

# To merge back files
cat part_* > my-rebuilt-huge-file.xyz
Source by www.suse.com #
 
PREVIOUS NEXT
Tagged: #split #big #file #smaller #parts
ADD COMMENT
Topic
Name
2+4 =