View source: R/ifcb_helper_functions.R
split_large_zip | R Documentation |
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)
zip_file |
The path to the large zip file. |
max_size |
The maximum size (in MB) for each split zip file. Default is 500 MB. |
quiet |
Logical. If TRUE, suppresses messages about the progress and completion of the zip process. Default is FALSE. |
This function does not return any value; it creates multiple smaller zip files.
## Not run:
# Split an existing zip file into parts of up to 500 MB
split_large_zip("large_file.zip", max_size = 500)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.