powered by
This helper function takes an existing zip file, extracts its contents, and splits it into smaller zip files without splitting subfolders.
split_large_zip(zip_file, max_size = 500, quiet = FALSE)
This function does not return any value; it creates multiple smaller zip files.
The path to the large zip file.
The maximum size (in MB) for each split zip file. Default is 500 MB.
Logical. If TRUE, suppresses messages about the progress and completion of the zip process. Default is FALSE.
if (FALSE) { # Split an existing zip file into parts of up to 500 MB split_large_zip("large_file.zip", max_size = 500) }
Run the code above in your browser using DataLab