Function to split folder by size or number of elements
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).