Split big files in bash with … split
Example on how to use split to phisically split large files in smaller ones.
ls -lh bigfile # This is our initial situation: a large file we want to split #-rw-r--r-- 1 foo foo 10M Jul 29 11:30 bigfile # This will do the dirty job # we're going to split the big file in many little ones, each of 2mb split -b 2m bigfile part_ # Let's check what we got ls -lh part_* # Will output the list of new files #-rw-r--r-- 1 foo foo 2.0M Jul 29 11:31 part_aa #-rw-r--r-- 1 foo foo 2.0M Jul 29 11:31 part_ab #-rw-r--r-- 1 foo foo 2.0M Jul 29 11:31 part_ac #-rw-r--r-- 1 foo foo 2.0M Jul 29 11:31 part_ad #-rw-r--r-- 1 foo foo 2.0M Jul 29 11:31 part_ae