Split

From Wiki
Revision as of 15:30, 17 March 2015 by Scott (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Split a big file into equal sized pieces:

split -b50G -d my_big_file.tgz temp_name

This yields 50G chunks named temp_name01, temp_name02, etc.


Join the pieces back together

cat temp_name* > my_big_file.tgz