Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 10374

Create a archive split into blocks of a maximum size using Windows shell

$
0
0

As example. I want to compress a directory of 100GB split into 10 archives of 10GB using cmd or powershell, non-interactive without installing additional tools. Using tar would be awesome but something else is ok too

Most likely I want to compress into 10 individual archives which can be extracted on its own without the need to be merged back together at a later stage. Preferable first compressing 1 big file and then split it. But if this wish is hard to realize I take if for granted.

In linux I use something like this

tar --tape-length=2097000 -cMv --file=tar_archive.{tar,tar-{2..100}} dir1

But the Windows tar doesn't support --tape-length

How to make this work in Windows?


Viewing all articles
Browse latest Browse all 10374

Latest Images

Trending Articles



Latest Images