0

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). – Steve Barnes Aug 5 '18 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. – Franck Dernoncourt Aug 5 '18 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 Sep 4 '18 at 17:47
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. – Franck Dernoncourt Aug 5 '18 at 17:30
  • 2
    7zip also has a command line utility – Agile_Eagle Aug 6 '18 at 0:37
  • 1
    Sounds like a few lines of Python might be in order – Mawg Sep 5 '18 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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