Split a file or an archive in chunks

Requirements

  • Linux OR
  • WSL

Steps

  1. Have a directory with your file. In our case file.7z
folder/
  file.7z
  1. In terminal
split -b 2000M file.7z file_

This will create 2GB files named file_aa, file_bb and so on

  1. To build back your file.7z in your folder with your pieces like this
ls folder

folder/
  file_aa
  file_ab

just type

cat file_* > file.7z

Keywords: “split files in 2gb”, “split zip files in 2gb”, “split in 2gb”, split archive”