powered by
Function to split folder by size or number of elements
split_folder( folder, export, units = "megas", size = 500, zip = TRUE, remove = FALSE )
zip files
Path of folder to split (path).
Path to export the split folders (path).
Units to split folder (string: "megas", "number").
Folder size by the units selected (numeric).
Zip split folders (logical).
Remove the split folder after zip (logical).
if (FALSE) { split_folder("pictures/QUINOA 2018-2019 SC SEEDS EDWIN - CAMACANI/" , "pictures/split_num", remove = T, size = 400, units = "number") }
Run the code above in your browser using DataLab