JAEN

Linux

split

SafeSplit files

split -b 100M <file> part_

Splits big files by size or lines — for attachments and FAT32's 4 GB cap. Reassemble with cat.

Examples

  • split -b 3G backup.tar.gz bk_ && cat bk_* > backup.tar.gzSplit, then cat to restore

Syntax

split [-b size] [-l lines] <file> [prefix]

Before you run it

Creates pieces only.

Related commands

  • catPrint file contents
  • tarArchive (tar)
  • ddBlock-level copy

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store