0

I want to upload a vast amount of small files to a website. To make that process faster, I compressed them to a .rar file.

The problem: Such a large file can't be uploaded to that website. That's why I used WinRARs splitting feature.

The next problem: The website validates .rar files. As a single .rar part can't work on its own, the validation fails.

Now my question: How can I compress an entire folder structure of small files into several .rar files (Each about 500 MB in size) which can be used independently? Of course, I could do it manually. But that would be much work.

FloPinguin
  • 111
  • 1
  • 5
  • Do you want to put each file in a separate rar or all files that reside in the same folder in a separate rar file? – Ricardo Bohner Nov 10 '19 at 01:13
  • @RicardoBohner A bit more complicated. A 1,1 GB folder should turn into about 500 MB, 500 MB and 100 MB RAR files. No matter how many subfolders or files are in the folder. – FloPinguin Nov 10 '19 at 01:19
  • You'll need two parts to this process: Identifying the file groups, and compressing them. You should be able to script this. So start looking for how to break a larger selection of files into the necessary sized groups. Compressing these groups will be simple once you'd identified – music2myear Nov 10 '19 at 02:36

0 Answers0