I am looking for a program for Microsoft Windows or Ubuntu that can take as input a folder and splitting in any file larger than some file size threshold into smaller files. I don't want to have to manually split each large file myself.

Any license and price is fine.

  • The obvious question is "What type of files" as some files can be simply split, (e.g. plain text files, csv files, etc), while others, (e.g. exe, zip, jpg, etc.), will not function in any way correctly if split (unless they are re-joined before use). Commented Aug 5, 2018 at 9:18
  • @SteveBarnes any type of file. The use case is syncing the files with OneDrive, and OneDrive has a limit of 15GB per file. Commented Aug 5, 2018 at 9:20
  • For Ubuntu I think the split command can be used as well, together with the find command for files larger than a certain size this can be even a one liner. All of course when it has not to be split based on some criteria as split is just a binary splitter.
    – albert
    Commented Sep 4, 2018 at 17:47

1 Answer 1


7-zip can archive a file into multiple parts which can be extracted later.

Here is a guide on how to do it: https://www.linglom.com/it-support/how-to-split-a-large-file-using-7-zip/

  1. Download and install 7-Zip
  2. Right-click on the file(s) -> Select 7-Zip -> Add to archive
  3. On Add to Archive, name the archive, select archive format, define file size limit(15GB in your case) and then click OK.

enter image description here

  1. When finished, you’ll see that a large file is split into new smaller Zip files with size limit as you defined.
  2. To get the original file from these Zip files, right-click one of these Zip files -> select 7-Zip -> click Open archive.
  • Thanks, I don't want to have to manually split each large file myself. Commented Aug 5, 2018 at 17:30
  • 3
    7zip also has a command line utility Commented Aug 6, 2018 at 0:37
  • 1
    Sounds like a few lines of Python might be in order
    – Mawg
    Commented Sep 5, 2018 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.