From 5330d1b26ba6d789783272966fc36b582ec74fc2 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 17 Jun 2023 22:48:57 +0300 Subject: [PATCH] Created split (markdown) --- split.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 split.md diff --git a/split.md b/split.md new file mode 100644 index 0000000..d2a3adc --- /dev/null +++ b/split.md @@ -0,0 +1,26 @@ +# Split and join big files + +For example, for copying big file using FAT32 filesystem that has limit of 4 GB per file. + +## Split big file at Linux or Mac + +``` +split -b 3G bigfile.zip e +``` +Will produce files like: eaa, eab, eac, ead + +## Join file at Linux or Mac + +``` +cat eaa eab eac ead > bigfile.zip +``` + +## Split file at Windows + +https://stackoverflow.com/questions/5693795/windows-command-to-split-a-binary-file + +## Join file at Windows + +``` +copy /b eaa + eab + eac + ead bigfile.zip +```